From 8cdbdb70db0f17a8a9810fbe2112e916104a196d Mon Sep 17 00:00:00 2001 From: Ross Younger Date: Mon, 28 Oct 2024 22:03:49 +1300 Subject: [PATCH] more configure aarch --- .github/workflows/ci.yml | 8 ++++++-- Cargo.toml | 2 ++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 687fe862..37d60583 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,12 +40,16 @@ jobs: # run: rustup set profile minimal - uses: Swatinem/rust-cache@v2 with: - key: "${{matrix.build}}" + key: "${{ matrix.build }}" - name: install packages (ubuntu) if: startsWith(matrix.host, 'ubuntu') run: scripts/install-ubuntu-packages - name: Build - run: cargo build --locked + run: cargo build --locked --target ${{ matrix.target }} + - uses: actions/upload-artifact@v4 + with: + name: qcp-bin-${{ matrix.target }} + path: target/${{ matrix.target }}/debug/qcp # We only need to run the checks on a single platform checks: diff --git a/Cargo.toml b/Cargo.toml index 89550d7c..98bd1f5b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -88,3 +88,5 @@ unescaped_backticks = "deny" [package.metadata.cross.target.x86_64-unknown-linux-musl] pre-build = [ "apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y --no-install-recommends install capnproto" ] +[package.metadata.cross.target.aarch64-unknown-linux-musl] +pre-build = [ "apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y --no-install-recommends install capnproto" ]