File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change 2020jobs :
2121 test :
2222 name : Rust Port Tests
23- runs-on : ubuntu-latest
23+ runs-on : ${{ matrix.os }}
24+ strategy :
25+ fail-fast : false
26+ matrix :
27+ os : [macos-latest, ubuntu-latest, windows-latest]
2428 steps :
2529 - name : Check out the repo
2630 uses : actions/checkout@v4
2731 with :
2832 fetch-depth : 0
29- - name : install metacall
33+ - name : Export XCode SDK Root
34+ if : matrix.os == 'macos-latest'
35+ run : echo "SDKROOT=$(xcrun --sdk macosx --show-sdk-path)" >> $GITHUB_ENV
36+ - name : install metacall (${{ matrix.os }})
37+ if : matrix.os != 'windows-latest'
3038 run : curl -sL https://raw.githubusercontent.com/metacall/install/master/install.sh | sh
39+
40+ - name : install metacall (${{ matrix.os }})
41+ if : matrix.os == 'windows-latest'
42+ run : cmd.exe /c "powershell .\tools\metacall-environment.ps1 $Env:METACALL_INSTALL_OPTIONS"
43+ env :
44+ METACALL_INSTALL_OPTIONS : python nodejs ruby # TODO: Implement NetCore once it works with Windows
45+
3146 - name : Install Rust
3247 uses : actions-rs/toolchain@v1
3348 with :
You can’t perform that action at this time.
0 commit comments