From e3d46a01980f0b4ed03415c6369b94d7d2c4243f Mon Sep 17 00:00:00 2001 From: Jason Koch Date: Thu, 30 Nov 2023 20:32:28 -0800 Subject: [PATCH] add aarch64 build process --- .github/workflows/{rust.yml => pipeline.yml} | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) rename .github/workflows/{rust.yml => pipeline.yml} (66%) diff --git a/.github/workflows/rust.yml b/.github/workflows/pipeline.yml similarity index 66% rename from .github/workflows/rust.yml rename to .github/workflows/pipeline.yml index 60a6982..aee32f2 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/pipeline.yml @@ -1,4 +1,4 @@ -name: Rust +name: Build linux on: push: @@ -15,6 +15,8 @@ jobs: runs-on: ubuntu-22.04 steps: + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 - uses: actions/checkout@v3 - name: Install libelf and gdb @@ -27,5 +29,9 @@ jobs: - name: Run tests run: cargo test - - name: Run integration tests + - name: Run integration tests x86_64 run: sudo -E /home/${USER}/.cargo/bin/cargo test --no-fail-fast -- --include-ignored + + - name: Run integration tests aarch64 + run: docker run --platform=linux/arm64/v8 arm64v8/ubuntu:22.04 cargo test --no-fail-fast -- --include-ignored +