ci: libsodium 1.0.20 does not build with zig master
Some checks failed
CI / build (-Denable-libsodium=false, true, ubuntu-latest, master) (push) Has been cancelled
CI / build (macos-latest, 0.13.0) (push) Has been cancelled
CI / build (ubuntu-latest, 0.12.1) (push) Has been cancelled
CI / build (ubuntu-latest, 0.13.0) (push) Has been cancelled
CI / build (windows-latest, 0.13.0) (push) Has been cancelled

This is due to the arch enum losing the `aarch64_32` member. This is
fixed in libsodium upstream, but is not yet in a release version.
This commit is contained in:
2024-09-15 20:31:17 -07:00
parent b898e4ec8b
commit 06523bf0ed
2 changed files with 7 additions and 5 deletions

View File

@@ -21,6 +21,7 @@ jobs:
os: ubuntu-latest
- zig-version: "master"
check-format: true
build-options: "-Denable-libsodium=false"
os: ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
@@ -31,10 +32,11 @@ jobs:
uses: mlugg/setup-zig@v1
with:
version: ${{ matrix.zig-version }}
use-cache: false
- if: ${{ matrix.check-format }}
name: Check Formatting
run: zig fmt --ast-check --check .
- name: Build
run: zig build --summary all
run: zig build ${{ matrix.build-options }} --summary all