mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-24 04:25:10 -07:00
Sync ci.yml with master
This commit is contained in:
parent
632afd5c7c
commit
4b0bf89417
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@ -40,17 +40,16 @@ jobs:
|
|||||||
- name: Update packages list
|
- name: Update packages list
|
||||||
run: sudo apt-get update
|
run: sudo apt-get update
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install Zig
|
||||||
run: |
|
uses: goto-bus-stop/setup-zig@d866436887ad1b24590684f9d00480376663dd36
|
||||||
curl -sL -o - https://ziglang.org/download/0.11.0/zig-linux-x86_64-0.11.0.tar.xz | tar xJ -f - -C /opt/
|
with:
|
||||||
sudo mv /opt/zig-* /opt/zig
|
version: 0.11.0
|
||||||
|
|
||||||
- name: Autogen
|
- name: Autogen
|
||||||
run: ./autogen.sh -s
|
run: ./autogen.sh -s
|
||||||
|
|
||||||
- name: Compilation with zig
|
- name: Compilation with zig
|
||||||
run: |
|
run: |
|
||||||
export PATH=/opt/zig:$PATH
|
|
||||||
zig build
|
zig build
|
||||||
zig build -Dtarget=x86_64-linux
|
zig build -Dtarget=x86_64-linux
|
||||||
zig build -Dtarget=aarch64-linux
|
zig build -Dtarget=aarch64-linux
|
||||||
@ -177,5 +176,4 @@ jobs:
|
|||||||
|
|
||||||
- name: Android compilation
|
- name: Android compilation
|
||||||
run: |
|
run: |
|
||||||
env ANDROID_NDK_HOME=/tmp/android/ndk ./dist-build/android-x86.sh
|
env ANDROID_NDK_HOME=/tmp/android/ndk ./dist-build/android-aar.sh
|
||||||
env ANDROID_NDK_HOME=/tmp/android/ndk ./dist-build/android-armv8-a.sh
|
|
||||||
|
Loading…
Reference in New Issue
Block a user