ci: Update to zig 0.9.1

This commit is contained in:
Hugo Machet 2022-02-16 10:21:12 +01:00 committed by Isaac Freund
parent 89433073d6
commit d7d0c3cfb9
4 changed files with 17 additions and 17 deletions

View File

@ -38,11 +38,11 @@ tasks:
sudo ninja -C build/ install
cd ..
wget https://ziglang.org/download/0.9.0/zig-linux-x86_64-0.9.0.tar.xz
wget https://ziglang.org/download/0.9.1/zig-linux-x86_64-0.9.1.tar.xz
# Remove a lot of useless lines from tar output.
tar -xvf zig-linux-x86_64-0.9.0.tar.xz 1>/dev/null
sudo mv zig-linux-x86_64-0.9.0/zig /usr/bin/
sudo mv zig-linux-x86_64-0.9.0/lib /usr/lib/zig
tar -xvf zig-linux-x86_64-0.9.1.tar.xz 1>/dev/null
sudo mv zig-linux-x86_64-0.9.1/zig /usr/bin/
sudo mv zig-linux-x86_64-0.9.1/lib /usr/lib/zig
- build: |
cd river
zig build

View File

@ -35,11 +35,11 @@ tasks:
sudo ninja -C build/ install
cd ..
wget https://ziglang.org/download/0.9.0/zig-linux-x86_64-0.9.0.tar.xz
wget https://ziglang.org/download/0.9.1/zig-linux-x86_64-0.9.1.tar.xz
# Remove a lot of useless lines from tar output.
tar -xvf zig-linux-x86_64-0.9.0.tar.xz 1>/dev/null
sudo mv zig-linux-x86_64-0.9.0/zig /usr/bin/
sudo mv zig-linux-x86_64-0.9.0/lib /usr/lib/zig
tar -xvf zig-linux-x86_64-0.9.1.tar.xz 1>/dev/null
sudo mv zig-linux-x86_64-0.9.1/zig /usr/bin/
sudo mv zig-linux-x86_64-0.9.1/lib /usr/lib/zig
- build: |
cd river
zig build

View File

@ -39,11 +39,11 @@ tasks:
sudo ninja -C build/ install
cd ..
wget https://ziglang.org/download/0.9.0/zig-freebsd-x86_64-0.9.0.tar.xz
wget https://ziglang.org/download/0.9.1/zig-freebsd-x86_64-0.9.1.tar.xz
# Remove a lot of useless lines from tar output.
tar -xvf zig-freebsd-x86_64-0.9.0.tar.xz 1>/dev/null
sudo mv zig-freebsd-x86_64-0.9.0/zig /usr/bin/
sudo mv zig-freebsd-x86_64-0.9.0/lib /usr/lib/zig
tar -xvf zig-freebsd-x86_64-0.9.1.tar.xz 1>/dev/null
sudo mv zig-freebsd-x86_64-0.9.1/zig /usr/bin/
sudo mv zig-freebsd-x86_64-0.9.1/lib /usr/lib/zig
- build: |
cd river
zig build

View File

@ -38,15 +38,15 @@ jobs:
git clone https://gitlab.freedesktop.org/wlroots/wlroots.git
cd wlroots
git checkout 0.15.0
git checkout 0.15.1
meson build --auto-features=enabled -Drenderers=gles2 -Dexamples=false \
-Dwerror=false -Db_ndebug=false --prefix /usr
ninja -C build install
wget https://ziglang.org/download/0.9.0/zig-linux-x86_64-0.9.0.tar.xz
tar -xvf zig-linux-x86_64-0.9.0.tar.xz
mv zig-linux-x86_64-0.9.0/zig /usr/bin/
mv zig-linux-x86_64-0.9.0/lib /usr/lib/zig
wget https://ziglang.org/download/0.9.1/zig-linux-x86_64-0.9.1.tar.xz
tar -xvf zig-linux-x86_64-0.9.1.tar.xz
mv zig-linux-x86_64-0.9.1/zig /usr/bin/
mv zig-linux-x86_64-0.9.1/lib /usr/lib/zig
zig env
- name: checkout