Skip to content

Commit

Permalink
more configure aarch
Browse files Browse the repository at this point in the history
  • Loading branch information
crazyscot committed Oct 28, 2024
1 parent bcdfd03 commit 8cdbdb7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]

0 comments on commit 8cdbdb7

Please sign in to comment.