From 8c0f7d366803967dd3fe0f9ddf94de607c082f27 Mon Sep 17 00:00:00 2001 From: Schneems Date: Fri, 14 Jun 2024 10:46:29 -0500 Subject: [PATCH] Test getting started guide with ARM && AMD --- .github/workflows/ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 699fe99e..8029db89 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,7 +60,10 @@ jobs: run: cargo test --locked -- --ignored print-pack-getting-started-output: - runs-on: ubuntu-22.04 + runs-on: ${{ matrix.arch == 'arm64' && 'pub-hk-ubuntu-22.04-arm-medium' || 'ubuntu-latest' }} + strategy: + matrix: + arch: ["arm64", "amd64"] steps: - name: Checkout uses: actions/checkout@v4 @@ -69,7 +72,7 @@ jobs: - name: Update Rust toolchain run: rustup update - name: Install Rust linux-musl target - run: rustup target add x86_64-unknown-linux-musl + run: rustup target add ${{ matrix.arch == 'amd64' && 'x86_64-unknown-linux-musl' || 'aarch64-unknown-linux-musl' }} - name: Rust Cache uses: Swatinem/rust-cache@v2.7.3 - name: Install Pack CLI