Skip to content

Commit

Permalink
testing macOS build
Browse files Browse the repository at this point in the history
  • Loading branch information
agracio committed Mar 9, 2025
1 parent 86f24c6 commit 99b36c2
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ runs:
}
if ( '${{ runner.os }}' -eq 'macOS'){
# Get-ChildItem -Path build/Release
Get-ChildItem -Path build/Release
Copy-Item "build/Release/edge_coreclr.node" -Destination "release/darwin/${{ inputs.arch }}/${{ inputs.node-major }}"
Copy-Item "build/Release/edge_nativeclr.node" -Destination "release/darwin/${{ inputs.arch }}/${{ inputs.node-major }}"
Copy-Item "build/Release/MonoEmbedding.exe" -Destination "release/darwin/${{ inputs.arch }}/${{ inputs.node-major }}"
Expand Down
22 changes: 14 additions & 8 deletions .github/actions/setup-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ runs:
path: ~/.cache/node-gyp
key: '${{ inputs.os }}-${{ inputs.node}}'

# - name: Cache node-gyp macOs
# if: runner.os == 'macOS'
# uses: actions/cache@v4
# env:
# cache-name: cache-node-gyp
# with:
# path: ~/Library/Caches/node-gyp
# key: '${{ inputs.os }}-${{ inputs.node}}'
- name: Cache node-gyp macOs
if: runner.os == 'macOS'
uses: actions/cache@v4
env:
cache-name: cache-node-gyp
with:
path: ~/Library/Caches/node-gyp
key: '${{ inputs.os }}-${{ inputs.node}}'


- name: Cache node modules
Expand All @@ -52,6 +52,12 @@ runs:
with:
dotnet-version: '8.0.x' # SDK Version to use; x will use the latest version of the 8.0 channel

- name: Setup pkf-config
if: runner.os == 'macOS'
shell: bash
run: |
brew install pkg-config
- name: Versions
shell: bash
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
# os: [macos-13, macos-15, ubuntu-24.04, ubuntu-24.04-arm, windows-2022]
os: [macos-13, macos-14]
# node: [18, 20, 22, 23]
node: [18, 20, 22, 23]
node: [20, 22]
steps:

- name: Checkout code
Expand Down

0 comments on commit 99b36c2

Please sign in to comment.