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
|
sudo ninja -C build/ install
|
||||||
cd ..
|
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.
|
# Remove a lot of useless lines from tar output.
|
||||||
tar -xvf zig-linux-x86_64-0.9.0.tar.xz 1>/dev/null
|
tar -xvf zig-linux-x86_64-0.9.1.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.1/zig /usr/bin/
|
||||||
sudo mv zig-linux-x86_64-0.9.0/lib /usr/lib/zig
|
sudo mv zig-linux-x86_64-0.9.1/lib /usr/lib/zig
|
||||||
- build: |
|
- build: |
|
||||||
cd river
|
cd river
|
||||||
zig build
|
zig build
|
||||||
|
@ -35,11 +35,11 @@ tasks:
|
|||||||
sudo ninja -C build/ install
|
sudo ninja -C build/ install
|
||||||
cd ..
|
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.
|
# Remove a lot of useless lines from tar output.
|
||||||
tar -xvf zig-linux-x86_64-0.9.0.tar.xz 1>/dev/null
|
tar -xvf zig-linux-x86_64-0.9.1.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.1/zig /usr/bin/
|
||||||
sudo mv zig-linux-x86_64-0.9.0/lib /usr/lib/zig
|
sudo mv zig-linux-x86_64-0.9.1/lib /usr/lib/zig
|
||||||
- build: |
|
- build: |
|
||||||
cd river
|
cd river
|
||||||
zig build
|
zig build
|
||||||
|
@ -39,11 +39,11 @@ tasks:
|
|||||||
sudo ninja -C build/ install
|
sudo ninja -C build/ install
|
||||||
cd ..
|
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.
|
# Remove a lot of useless lines from tar output.
|
||||||
tar -xvf zig-freebsd-x86_64-0.9.0.tar.xz 1>/dev/null
|
tar -xvf zig-freebsd-x86_64-0.9.1.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.1/zig /usr/bin/
|
||||||
sudo mv zig-freebsd-x86_64-0.9.0/lib /usr/lib/zig
|
sudo mv zig-freebsd-x86_64-0.9.1/lib /usr/lib/zig
|
||||||
- build: |
|
- build: |
|
||||||
cd river
|
cd river
|
||||||
zig build
|
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
|
git clone https://gitlab.freedesktop.org/wlroots/wlroots.git
|
||||||
cd wlroots
|
cd wlroots
|
||||||
git checkout 0.15.0
|
git checkout 0.15.1
|
||||||
meson build --auto-features=enabled -Drenderers=gles2 -Dexamples=false \
|
meson build --auto-features=enabled -Drenderers=gles2 -Dexamples=false \
|
||||||
-Dwerror=false -Db_ndebug=false --prefix /usr
|
-Dwerror=false -Db_ndebug=false --prefix /usr
|
||||||
ninja -C build install
|
ninja -C build install
|
||||||
|
|
||||||
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
|
||||||
tar -xvf zig-linux-x86_64-0.9.0.tar.xz
|
tar -xvf zig-linux-x86_64-0.9.1.tar.xz
|
||||||
mv zig-linux-x86_64-0.9.0/zig /usr/bin/
|
mv zig-linux-x86_64-0.9.1/zig /usr/bin/
|
||||||
mv zig-linux-x86_64-0.9.0/lib /usr/lib/zig
|
mv zig-linux-x86_64-0.9.1/lib /usr/lib/zig
|
||||||
zig env
|
zig env
|
||||||
|
|
||||||
- name: checkout
|
- name: checkout
|
||||||
|
Loading…
Reference in New Issue
Block a user