From 4b0bf894176fe54752b0db4708634273ab14a095 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Thu, 4 Jan 2024 13:10:08 +0100 Subject: [PATCH] Sync ci.yml with master --- .github/workflows/ci.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 44777c92..124fc753 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,17 +40,16 @@ jobs: - name: Update packages list run: sudo apt-get update - - name: Install dependencies - run: | - curl -sL -o - https://ziglang.org/download/0.11.0/zig-linux-x86_64-0.11.0.tar.xz | tar xJ -f - -C /opt/ - sudo mv /opt/zig-* /opt/zig + - name: Install Zig + uses: goto-bus-stop/setup-zig@d866436887ad1b24590684f9d00480376663dd36 + with: + version: 0.11.0 - name: Autogen run: ./autogen.sh -s - name: Compilation with zig run: | - export PATH=/opt/zig:$PATH zig build zig build -Dtarget=x86_64-linux zig build -Dtarget=aarch64-linux @@ -177,5 +176,4 @@ jobs: - name: Android compilation run: | - env ANDROID_NDK_HOME=/tmp/android/ndk ./dist-build/android-x86.sh - env ANDROID_NDK_HOME=/tmp/android/ndk ./dist-build/android-armv8-a.sh + env ANDROID_NDK_HOME=/tmp/android/ndk ./dist-build/android-aar.sh