ci: Update to zig 0.9.1
This commit is contained in:
parent
89433073d6
commit
d7d0c3cfb9
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
10
.github/workflows/ci_build.yml
vendored
10
.github/workflows/ci_build.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user