all: update to latest Zig nightly version
Performed via: ```sh VERSION=0.10.0-dev.3952+9e070b653 ./dev/update-zig.sh ``` Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
46c4ea4ebd
commit
b282641300
11 changed files with 38 additions and 38 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
|
@ -19,7 +19,7 @@ jobs:
|
||||||
- name: Setup Zig
|
- name: Setup Zig
|
||||||
run: |
|
run: |
|
||||||
sudo apt install xz-utils libasound2-dev
|
sudo apt install xz-utils libasound2-dev
|
||||||
sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.3842+36f4f32fa.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.3952+9e070b653.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
||||||
# - name: x86_64-linux -> x86_64-linux-musl
|
# - name: x86_64-linux -> x86_64-linux-musl
|
||||||
# if: matrix.project == 'libs/freetype' || matrix.project == 'libs/glfw'
|
# if: matrix.project == 'libs/freetype' || matrix.project == 'libs/glfw'
|
||||||
# run: cd ${{ matrix.project }} && zig build -Dtarget=x86_64-linux-musl
|
# run: cd ${{ matrix.project }} && zig build -Dtarget=x86_64-linux-musl
|
||||||
|
|
@ -61,7 +61,7 @@ jobs:
|
||||||
- name: Setup Zig
|
- name: Setup Zig
|
||||||
run: |
|
run: |
|
||||||
$ProgressPreference = 'SilentlyContinue'
|
$ProgressPreference = 'SilentlyContinue'
|
||||||
Invoke-WebRequest -Uri 'https://ziglang.org/builds/zig-windows-x86_64-0.10.0-dev.3842+36f4f32fa.zip' -OutFile 'C:\zig.zip'
|
Invoke-WebRequest -Uri 'https://ziglang.org/builds/zig-windows-x86_64-0.10.0-dev.3952+9e070b653.zip' -OutFile 'C:\zig.zip'
|
||||||
cd C:\
|
cd C:\
|
||||||
7z x zig.zip
|
7z x zig.zip
|
||||||
Add-Content $env:GITHUB_PATH 'C:\zig-windows-x86_64-0.10.0-dev.3027+0e26c6149\'
|
Add-Content $env:GITHUB_PATH 'C:\zig-windows-x86_64-0.10.0-dev.3027+0e26c6149\'
|
||||||
|
|
@ -81,7 +81,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
brew uninstall --ignore-dependencies libx11 # https://github.com/ziglang/zig/issues/11066
|
brew uninstall --ignore-dependencies libx11 # https://github.com/ziglang/zig/issues/11066
|
||||||
brew install xz
|
brew install xz
|
||||||
sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-x86_64-0.10.0-dev.3842+36f4f32fa.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-x86_64-0.10.0-dev.3952+9e070b653.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
||||||
- name: test
|
- name: test
|
||||||
run: zig build test
|
run: zig build test
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
2
.github/workflows/m1_ci.yml
vendored
2
.github/workflows/m1_ci.yml
vendored
|
|
@ -24,7 +24,7 @@ jobs:
|
||||||
- name: Setup Zig
|
- name: Setup Zig
|
||||||
run: |
|
run: |
|
||||||
sudo rm -rf /usr/local/bin/zig /usr/local/bin/lib/
|
sudo rm -rf /usr/local/bin/zig /usr/local/bin/lib/
|
||||||
sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-aarch64-0.10.0-dev.3842+36f4f32fa.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-aarch64-0.10.0-dev.3952+9e070b653.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
||||||
- name: mach::test
|
- name: mach::test
|
||||||
run: zig build test
|
run: zig build test
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
10
README.md
10
README.md
|
|
@ -74,14 +74,14 @@ Mach is still early stages, so far we have support for building from the followi
|
||||||
|
|
||||||
Zig has switched to the self-hosted compiler recently. This is a huge milestone, but currently means that Zig nightly versions are a little bit unstable. For now, we suggest using a slightly older Zig version before the switch to the self-hosted compiler.
|
Zig has switched to the self-hosted compiler recently. This is a huge milestone, but currently means that Zig nightly versions are a little bit unstable. For now, we suggest using a slightly older Zig version before the switch to the self-hosted compiler.
|
||||||
|
|
||||||
Currently tested with: 0.10.0-dev.3842+36f4f32fa
|
Currently tested with: 0.10.0-dev.3952+9e070b653
|
||||||
|
|
||||||
You can download binary releases of this version at:
|
You can download binary releases of this version at:
|
||||||
|
|
||||||
* **linux-x86_64**: https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.3842+36f4f32fa.tar.xz)
|
* **linux-x86_64**: https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.3952+9e070b653.tar.xz)
|
||||||
* **windows-x86_64**: https://ziglang.org/builds/zig-windows-x86_64-0.10.0-dev.3842+36f4f32fa.zip
|
* **windows-x86_64**: https://ziglang.org/builds/zig-windows-x86_64-0.10.0-dev.3952+9e070b653.zip
|
||||||
* **macos-x86_64** (Intel): https://ziglang.org/builds/zig-macos-x86_64-0.10.0-dev.3842+36f4f32fa.tar.xz
|
* **macos-x86_64** (Intel): https://ziglang.org/builds/zig-macos-x86_64-0.10.0-dev.3952+9e070b653.tar.xz
|
||||||
* **macos-aarch64** (Apple Silicon): https://ziglang.org/builds/zig-macos-aarch64-0.10.0-dev.3842+36f4f32fa.tar.xz
|
* **macos-aarch64** (Apple Silicon): https://ziglang.org/builds/zig-macos-aarch64-0.10.0-dev.3952+9e070b653.tar.xz
|
||||||
|
|
||||||
You can subscribe to [issue #180](https://github.com/hexops/mach/issues/180) for how we're tracking towards support for the latest nightly version of Zig.
|
You can subscribe to [issue #180](https://github.com/hexops/mach/issues/180) for how we're tracking towards support for the latest nightly version of Zig.
|
||||||
|
|
||||||
|
|
|
||||||
8
dev/template/.github/workflows/ci.yml
vendored
8
dev/template/.github/workflows/ci.yml
vendored
|
|
@ -11,7 +11,7 @@ jobs:
|
||||||
- name: Setup Zig
|
- name: Setup Zig
|
||||||
run: |
|
run: |
|
||||||
sudo apt install xz-utils
|
sudo apt install xz-utils
|
||||||
sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.3842+36f4f32fa.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.3952+9e070b653.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
||||||
- name: x86_64-linux -> aarch64-macos
|
- name: x86_64-linux -> aarch64-macos
|
||||||
run: zig build test -Dtarget=aarch64-macos.12-none
|
run: zig build test -Dtarget=aarch64-macos.12-none
|
||||||
- name: test
|
- name: test
|
||||||
|
|
@ -27,10 +27,10 @@ jobs:
|
||||||
- name: Setup Zig
|
- name: Setup Zig
|
||||||
run: |
|
run: |
|
||||||
$ProgressPreference = 'SilentlyContinue'
|
$ProgressPreference = 'SilentlyContinue'
|
||||||
Invoke-WebRequest -Uri "https://ziglang.org/builds/zig-windows-x86_64-0.10.0-dev.3842+36f4f32fa.zip" -OutFile "C:\zig.zip"
|
Invoke-WebRequest -Uri "https://ziglang.org/builds/zig-windows-x86_64-0.10.0-dev.3952+9e070b653.zip" -OutFile "C:\zig.zip"
|
||||||
cd C:\
|
cd C:\
|
||||||
7z x zig.zip
|
7z x zig.zip
|
||||||
Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.10.0-dev.3842+36f4f32fa\"
|
Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.10.0-dev.3952+9e070b653\"
|
||||||
- name: test
|
- name: test
|
||||||
run: zig build test
|
run: zig build test
|
||||||
x86_64-macos:
|
x86_64-macos:
|
||||||
|
|
@ -41,6 +41,6 @@ jobs:
|
||||||
- name: Setup Zig
|
- name: Setup Zig
|
||||||
run: |
|
run: |
|
||||||
brew install xz
|
brew install xz
|
||||||
sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-x86_64-0.10.0-dev.3842+36f4f32fa.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-x86_64-0.10.0-dev.3952+9e070b653.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
||||||
- name: test
|
- name: test
|
||||||
run: zig build test
|
run: zig build test
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ if [ -n "${ZIG_VERSION:-}" ]; then
|
||||||
|
|
||||||
update_zig "$version" README.md
|
update_zig "$version" README.md
|
||||||
|
|
||||||
sources=$(find . | grep './.github/workflows' | grep -v 'third_party/' | grep -v 'DirectXShaderCompiler' | grep -v '/libs/' | grep '\.yml')
|
sources=$(find . | grep './.github/workflows' | grep -v 'third_party/' | grep -v 'DirectXShaderCompiler' | grep '\.yml')
|
||||||
echo "$sources" | while read line ; do update_zig "$version" "$line" ; done
|
echo "$sources" | while read line ; do update_zig "$version" "$line" ; done
|
||||||
else
|
else
|
||||||
echo "must specify e.g. ZIG_VERSION=0.10.0-dev.2017+a0a2ce92c"
|
echo "must specify e.g. ZIG_VERSION=0.10.0-dev.2017+a0a2ce92c"
|
||||||
|
|
|
||||||
8
libs/basisu/.github/workflows/ci.yml
vendored
8
libs/basisu/.github/workflows/ci.yml
vendored
|
|
@ -11,7 +11,7 @@ jobs:
|
||||||
- name: Setup Zig
|
- name: Setup Zig
|
||||||
run: |
|
run: |
|
||||||
sudo apt install xz-utils
|
sudo apt install xz-utils
|
||||||
sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.3551+92568a009.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.3952+9e070b653.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
||||||
- name: x86_64-linux -> aarch64-macos
|
- name: x86_64-linux -> aarch64-macos
|
||||||
run: zig build test -Dtarget=aarch64-macos.12-none
|
run: zig build test -Dtarget=aarch64-macos.12-none
|
||||||
- name: test
|
- name: test
|
||||||
|
|
@ -27,10 +27,10 @@ jobs:
|
||||||
- name: Setup Zig
|
- name: Setup Zig
|
||||||
run: |
|
run: |
|
||||||
$ProgressPreference = 'SilentlyContinue'
|
$ProgressPreference = 'SilentlyContinue'
|
||||||
Invoke-WebRequest -Uri "https://ziglang.org/builds/zig-windows-x86_64-0.10.0-dev.3551+92568a009.zip" -OutFile "C:\zig.zip"
|
Invoke-WebRequest -Uri "https://ziglang.org/builds/zig-windows-x86_64-0.10.0-dev.3952+9e070b653.zip" -OutFile "C:\zig.zip"
|
||||||
cd C:\
|
cd C:\
|
||||||
7z x zig.zip
|
7z x zig.zip
|
||||||
Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.10.0-dev.3551+92568a009\"
|
Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.10.0-dev.3952+9e070b653\"
|
||||||
- name: test
|
- name: test
|
||||||
run: zig build test
|
run: zig build test
|
||||||
x86_64-macos:
|
x86_64-macos:
|
||||||
|
|
@ -41,6 +41,6 @@ jobs:
|
||||||
- name: Setup Zig
|
- name: Setup Zig
|
||||||
run: |
|
run: |
|
||||||
brew install xz
|
brew install xz
|
||||||
sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-x86_64-0.10.0-dev.3551+92568a009.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-x86_64-0.10.0-dev.3952+9e070b653.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
||||||
- name: test
|
- name: test
|
||||||
run: zig build test
|
run: zig build test
|
||||||
|
|
|
||||||
8
libs/freetype/.github/workflows/ci.yml
vendored
8
libs/freetype/.github/workflows/ci.yml
vendored
|
|
@ -11,7 +11,7 @@ jobs:
|
||||||
- name: Setup Zig
|
- name: Setup Zig
|
||||||
run: |
|
run: |
|
||||||
sudo apt install xz-utils
|
sudo apt install xz-utils
|
||||||
sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.3551+92568a009.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.3952+9e070b653.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
||||||
- name: x86_64-linux -> aarch64-macos
|
- name: x86_64-linux -> aarch64-macos
|
||||||
run: zig build test -Dtarget=aarch64-macos.12-none
|
run: zig build test -Dtarget=aarch64-macos.12-none
|
||||||
- name: test
|
- name: test
|
||||||
|
|
@ -27,10 +27,10 @@ jobs:
|
||||||
- name: Setup Zig
|
- name: Setup Zig
|
||||||
run: |
|
run: |
|
||||||
$ProgressPreference = 'SilentlyContinue'
|
$ProgressPreference = 'SilentlyContinue'
|
||||||
Invoke-WebRequest -Uri "https://ziglang.org/builds/zig-windows-x86_64-0.10.0-dev.3551+92568a009.zip" -OutFile "C:\zig.zip"
|
Invoke-WebRequest -Uri "https://ziglang.org/builds/zig-windows-x86_64-0.10.0-dev.3952+9e070b653.zip" -OutFile "C:\zig.zip"
|
||||||
cd C:\
|
cd C:\
|
||||||
7z x zig.zip
|
7z x zig.zip
|
||||||
Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.10.0-dev.3551+92568a009\"
|
Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.10.0-dev.3952+9e070b653\"
|
||||||
- name: test
|
- name: test
|
||||||
run: zig build test
|
run: zig build test
|
||||||
x86_64-macos:
|
x86_64-macos:
|
||||||
|
|
@ -41,6 +41,6 @@ jobs:
|
||||||
- name: Setup Zig
|
- name: Setup Zig
|
||||||
run: |
|
run: |
|
||||||
brew install xz
|
brew install xz
|
||||||
sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-x86_64-0.10.0-dev.3551+92568a009.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-x86_64-0.10.0-dev.3952+9e070b653.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
||||||
- name: test
|
- name: test
|
||||||
run: zig build test
|
run: zig build test
|
||||||
|
|
|
||||||
8
libs/glfw/.github/workflows/ci.yml
vendored
8
libs/glfw/.github/workflows/ci.yml
vendored
|
|
@ -16,7 +16,7 @@ jobs:
|
||||||
- name: Setup Zig
|
- name: Setup Zig
|
||||||
run: |
|
run: |
|
||||||
sudo apt install xz-utils
|
sudo apt install xz-utils
|
||||||
sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.3551+92568a009.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.3952+9e070b653.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
||||||
- name: x86_64-linux -> x86_64-macos
|
- name: x86_64-linux -> x86_64-macos
|
||||||
run: zig build test -Dtarget=x86_64-macos
|
run: zig build test -Dtarget=x86_64-macos
|
||||||
env:
|
env:
|
||||||
|
|
@ -48,10 +48,10 @@ jobs:
|
||||||
- name: Setup Zig
|
- name: Setup Zig
|
||||||
run: |
|
run: |
|
||||||
$ProgressPreference = 'SilentlyContinue'
|
$ProgressPreference = 'SilentlyContinue'
|
||||||
Invoke-WebRequest -Uri "https://ziglang.org/builds/zig-windows-x86_64-0.10.0-dev.3551+92568a009.zip" -OutFile "C:\zig.zip"
|
Invoke-WebRequest -Uri "https://ziglang.org/builds/zig-windows-x86_64-0.10.0-dev.3952+9e070b653.zip" -OutFile "C:\zig.zip"
|
||||||
cd C:\
|
cd C:\
|
||||||
7z x zig.zip
|
7z x zig.zip
|
||||||
Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.10.0-dev.3551+92568a009\"
|
Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.10.0-dev.3952+9e070b653\"
|
||||||
- name: x86_64-windows -> x86_64-macos
|
- name: x86_64-windows -> x86_64-macos
|
||||||
run: zig build test -Dtarget=x86_64-macos
|
run: zig build test -Dtarget=x86_64-macos
|
||||||
env:
|
env:
|
||||||
|
|
@ -76,7 +76,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
brew uninstall --ignore-dependencies libx11 # https://github.com/ziglang/zig/issues/11066
|
brew uninstall --ignore-dependencies libx11 # https://github.com/ziglang/zig/issues/11066
|
||||||
brew install xz
|
brew install xz
|
||||||
sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-x86_64-0.10.0-dev.3551+92568a009.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-x86_64-0.10.0-dev.3952+9e070b653.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
||||||
- name: test
|
- name: test
|
||||||
run: zig build test
|
run: zig build test
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
2
libs/glfw/.github/workflows/m1_ci.yml
vendored
2
libs/glfw/.github/workflows/m1_ci.yml
vendored
|
|
@ -24,7 +24,7 @@ jobs:
|
||||||
- name: Setup Zig
|
- name: Setup Zig
|
||||||
run: |
|
run: |
|
||||||
sudo rm -rf /usr/local/bin/zig /usr/local/bin/lib/
|
sudo rm -rf /usr/local/bin/zig /usr/local/bin/lib/
|
||||||
sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-aarch64-0.10.0-dev.3551+92568a009.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-aarch64-0.10.0-dev.3952+9e070b653.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
||||||
- name: test
|
- name: test
|
||||||
run: zig build test
|
run: zig build test
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
20
libs/gpu-dawn/.github/workflows/ci.yml
vendored
20
libs/gpu-dawn/.github/workflows/ci.yml
vendored
|
|
@ -16,7 +16,7 @@ jobs:
|
||||||
- name: Setup Zig
|
- name: Setup Zig
|
||||||
run: |
|
run: |
|
||||||
sudo apt install xz-utils
|
sudo apt install xz-utils
|
||||||
sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.3551+92568a009.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.3952+9e070b653.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
||||||
- name: Clone mach-glfw
|
- name: Clone mach-glfw
|
||||||
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||||
- name: install (debug)
|
- name: install (debug)
|
||||||
|
|
@ -37,7 +37,7 @@ jobs:
|
||||||
- name: Setup Zig
|
- name: Setup Zig
|
||||||
run: |
|
run: |
|
||||||
sudo apt install xz-utils
|
sudo apt install xz-utils
|
||||||
sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.3551+92568a009.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.3952+9e070b653.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
||||||
- name: Clone mach-glfw
|
- name: Clone mach-glfw
|
||||||
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||||
- name: install (release-fast)
|
- name: install (release-fast)
|
||||||
|
|
@ -58,7 +58,7 @@ jobs:
|
||||||
- name: Setup Zig
|
- name: Setup Zig
|
||||||
run: |
|
run: |
|
||||||
sudo apt install xz-utils
|
sudo apt install xz-utils
|
||||||
sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.3551+92568a009.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.3952+9e070b653.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
||||||
- name: Clone mach-glfw
|
- name: Clone mach-glfw
|
||||||
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||||
- name: install (debug)
|
- name: install (debug)
|
||||||
|
|
@ -79,7 +79,7 @@ jobs:
|
||||||
- name: Setup Zig
|
- name: Setup Zig
|
||||||
run: |
|
run: |
|
||||||
sudo apt install xz-utils
|
sudo apt install xz-utils
|
||||||
sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.3551+92568a009.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
sudo sh -c 'wget -c https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.3952+9e070b653.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
||||||
- name: Clone mach-glfw
|
- name: Clone mach-glfw
|
||||||
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||||
- name: install (release-fast)
|
- name: install (release-fast)
|
||||||
|
|
@ -102,10 +102,10 @@ jobs:
|
||||||
- name: Setup Zig
|
- name: Setup Zig
|
||||||
run: |
|
run: |
|
||||||
$ProgressPreference = 'SilentlyContinue'
|
$ProgressPreference = 'SilentlyContinue'
|
||||||
Invoke-WebRequest -Uri "https://ziglang.org/builds/zig-windows-x86_64-0.10.0-dev.3551+92568a009.zip" -OutFile "C:\zig.zip"
|
Invoke-WebRequest -Uri "https://ziglang.org/builds/zig-windows-x86_64-0.10.0-dev.3952+9e070b653.zip" -OutFile "C:\zig.zip"
|
||||||
cd C:\
|
cd C:\
|
||||||
7z x zig.zip
|
7z x zig.zip
|
||||||
Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.10.0-dev.3551+92568a009\"
|
Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.10.0-dev.3952+9e070b653\"
|
||||||
- name: Clone mach-glfw
|
- name: Clone mach-glfw
|
||||||
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||||
- name: install (debug)
|
- name: install (debug)
|
||||||
|
|
@ -130,10 +130,10 @@ jobs:
|
||||||
- name: Setup Zig
|
- name: Setup Zig
|
||||||
run: |
|
run: |
|
||||||
$ProgressPreference = 'SilentlyContinue'
|
$ProgressPreference = 'SilentlyContinue'
|
||||||
Invoke-WebRequest -Uri "https://ziglang.org/builds/zig-windows-x86_64-0.10.0-dev.3551+92568a009.zip" -OutFile "C:\zig.zip"
|
Invoke-WebRequest -Uri "https://ziglang.org/builds/zig-windows-x86_64-0.10.0-dev.3952+9e070b653.zip" -OutFile "C:\zig.zip"
|
||||||
cd C:\
|
cd C:\
|
||||||
7z x zig.zip
|
7z x zig.zip
|
||||||
Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.10.0-dev.3551+92568a009\"
|
Add-Content $env:GITHUB_PATH "C:\zig-windows-x86_64-0.10.0-dev.3952+9e070b653\"
|
||||||
- name: Clone mach-glfw
|
- name: Clone mach-glfw
|
||||||
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||||
- name: install (release-fast)
|
- name: install (release-fast)
|
||||||
|
|
@ -157,7 +157,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
brew uninstall --ignore-dependencies libx11 # https://github.com/ziglang/zig/issues/11066
|
brew uninstall --ignore-dependencies libx11 # https://github.com/ziglang/zig/issues/11066
|
||||||
brew install xz
|
brew install xz
|
||||||
sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-x86_64-0.10.0-dev.3551+92568a009.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-x86_64-0.10.0-dev.3952+9e070b653.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
||||||
- name: Clone mach-glfw
|
- name: Clone mach-glfw
|
||||||
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||||
- name: install (debug)
|
- name: install (debug)
|
||||||
|
|
@ -181,7 +181,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
brew uninstall --ignore-dependencies libx11 # https://github.com/ziglang/zig/issues/11066
|
brew uninstall --ignore-dependencies libx11 # https://github.com/ziglang/zig/issues/11066
|
||||||
brew install xz
|
brew install xz
|
||||||
sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-x86_64-0.10.0-dev.3551+92568a009.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-x86_64-0.10.0-dev.3952+9e070b653.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
||||||
- name: Clone mach-glfw
|
- name: Clone mach-glfw
|
||||||
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||||
- name: install (release-fast)
|
- name: install (release-fast)
|
||||||
|
|
|
||||||
2
libs/gpu-dawn/.github/workflows/m1_ci.yml
vendored
2
libs/gpu-dawn/.github/workflows/m1_ci.yml
vendored
|
|
@ -21,7 +21,7 @@ jobs:
|
||||||
- name: Setup Zig
|
- name: Setup Zig
|
||||||
run: |
|
run: |
|
||||||
sudo rm -rf /usr/local/bin/zig /usr/local/bin/lib/
|
sudo rm -rf /usr/local/bin/zig /usr/local/bin/lib/
|
||||||
sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-aarch64-0.10.0-dev.3551+92568a009.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
sudo sh -c 'wget -c https://ziglang.org/builds/zig-macos-aarch64-0.10.0-dev.3952+9e070b653.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin'
|
||||||
- name: Clone mach-glfw
|
- name: Clone mach-glfw
|
||||||
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw
|
||||||
- name: install (debug)
|
- name: install (debug)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue