Skip to content

Commit

Permalink
ci: update Zig to 0.10.0 to fix build
Browse files Browse the repository at this point in the history
And fix a zig fmt error that slipped in
  • Loading branch information
ifreund committed Jan 9, 2023
1 parent e8ba2a9 commit d7c18d2
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 13 deletions.
8 changes: 4 additions & 4 deletions .builds/alpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ sources:
- https://github.com/ifreund/waylock
tasks:
- install_deps: |
wget -nv 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 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
wget -nv https://ziglang.org/download/0.10.0/zig-linux-x86_64-0.10.0.tar.xz
tar -xvf zig-linux-x86_64-0.10.0.tar.xz 1>/dev/null
sudo mv zig-linux-x86_64-0.10.0/zig /usr/bin/
sudo mv zig-linux-x86_64-0.10.0/lib /usr/lib/zig
- build: |
cd waylock
zig build -Dman-pages
Expand Down
8 changes: 4 additions & 4 deletions .builds/archlinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ sources:
- https://github.com/ifreund/waylock
tasks:
- install_deps: |
wget -nv 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 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
wget -nv https://ziglang.org/download/0.10.0/zig-linux-x86_64-0.10.0.tar.xz
tar -xvf zig-linux-x86_64-0.10.0.tar.xz 1>/dev/null
sudo mv zig-linux-x86_64-0.10.0/zig /usr/bin/
sudo mv zig-linux-x86_64-0.10.0/lib /usr/lib/zig
- build: |
cd waylock
zig build -Dman-pages
Expand Down
8 changes: 4 additions & 4 deletions .builds/freebsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ sources:
- https://gitlab.freedesktop.org/wlroots/wlroots
tasks:
- install_deps: |
wget -nv https://ziglang.org/download/0.9.1/zig-freebsd-x86_64-0.9.1.tar.xz
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
wget -nv https://ziglang.org/download/0.10.0/zig-freebsd-x86_64-0.10.0.tar.xz
tar -xvf zig-freebsd-x86_64-0.10.0.tar.xz 1>/dev/null
sudo mv zig-freebsd-x86_64-0.10.0/zig /usr/bin/
sudo mv zig-freebsd-x86_64-0.10.0/lib /usr/lib/zig
- build: |
cd waylock
zig build -Dman-pages
Expand Down
1 change: 0 additions & 1 deletion src/pam.zig
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ pub const Result = enum(c_int) {

// Flags intended to be bitwise or'ed together
pub const flags = struct {

/// Authentication service should not generate any messages
pub const silent = 0x8000;

Expand Down

0 comments on commit d7c18d2

Please sign in to comment.