File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 - name : Checkout
2525 uses : actions/checkout@v2
2626 - name : Setup Zig
27- run : |
28- sudo apt install xz-utils
29- sudo sh -c 'wget -c https://pkg.machengine.org/zig/zig-linux-x86_64-0.13.0-dev.351+64ef45eb0.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
27+ uses : mlugg/setup-zig@v1
28+ with :
29+ version : 2024.5.0-mach
30+ mirror : ' https://pkg.machengine.org/zig'
3031 # - name: x86_64-linux -> x86_64-linux-musl
3132 # run: zig build -Dtarget=x86_64-linux-musl
3233 - name : x86_64-linux -> x86_64-macos
@@ -70,12 +71,10 @@ jobs:
7071 - name : Checkout
7172 uses : actions/checkout@v2
7273 - name : Setup Zig
73- run : |
74- $ProgressPreference = 'SilentlyContinue'
75- Invoke-WebRequest -Uri 'https://pkg.machengine.org/zig/zig-windows-x86_64-0.13.0-dev.351+64ef45eb0.zip' -OutFile 'C:\zig.zip'
76- cd C:\
77- 7z x zig.zip
78- Add-Content $env:GITHUB_PATH 'C:\zig-windows-x86_64-0.13.0-dev.351+64ef45eb0\'
74+ uses : mlugg/setup-zig@v1
75+ with :
76+ version : 2024.5.0-mach
77+ mirror : ' https://pkg.machengine.org/zig'
7978 - name : test
8079 run : zig build test
8180 x86_64-macos :
8786 - name : Checkout
8887 uses : actions/checkout@v2
8988 - name : Setup Zig
90- run : |
91- brew uninstall --ignore-dependencies libx11 # https://github.com/ziglang/zig/issues/11066
92- brew install xz
93- sudo sh -c 'wget -c https://pkg.machengine.org/zig/zig-macos-x86_64-0.13.0-dev.351+64ef45eb0.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
89+ uses : mlugg/setup-zig@v1
90+ with :
91+ version : 2024.5.0-mach
92+ mirror : ' https://pkg.machengine.org/zig'
93+ - name : Workaround Zig Bug
94+ run : brew uninstall --ignore-dependencies libx11 # https://github.com/ziglang/zig/issues/11066
9495 - name : test
9596 run : zig build test
You can’t perform that action at this time.
0 commit comments