From d34f1764b50e7efd78331db160ca69b25dba0477 Mon Sep 17 00:00:00 2001 From: Jos Dehaes Date: Fri, 17 May 2024 09:18:04 +0200 Subject: [PATCH] add aarch64 build --- .github/workflows/build.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 28ac794b..760b6692 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -78,6 +78,18 @@ jobs: with: name: selene-linux path: ./target/release/selene + - name: Build arm64 (Default features) + uses: actions-rs/cargo@v1 + with: + working-directory: selene + use-cross: true + command: build + args: --locked --release --target aarch64-unknown-linux-gnu + - name: Upload selene arm64 + uses: actions/upload-artifact@v1 + with: + name: selene-linux-aarch64 + path: ./target/aarch64-unknown-linux-gnu/release/selene build_linux_light: runs-on: ubuntu-latest steps: @@ -91,6 +103,18 @@ jobs: with: name: selene-light-linux path: ./target/release/selene + - name: Build arm64 (Lightweight) + uses: actions-rs/cargo@v1 + with: + working-directory: selene + use-cross: true + command: build + args: --locked --release --verbose --no-default-features --target aarch64-unknown-linux-gnu + - name: Upload selene-light arm64 + uses: actions/upload-artifact@v1 + with: + name: selene-light-linux-aarch64 + path: ./target/aarch64-unknown-linux-gnu/release/selene release: runs-on: ubuntu-latest needs: ['build_windows_light', 'build_windows', 'build_mac', 'build_mac_light', 'build_linux', 'build_linux_light']