Skip to content

Commit

Permalink
fixup! Update CI build images
Browse files Browse the repository at this point in the history
  • Loading branch information
wcampbell0x2a committed Dec 25, 2024
1 parent c23ddfd commit cce1df7
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
- { target: arm-unknown-linux-musleabi, os: ubuntu-24.04, use-cross: true }
- { target: armv7-unknown-linux-musleabi, os: ubuntu-24.04, use-cross: true }
- { target: aarch64-unknown-linux-musl, os: ubuntu-24.04, use-cross: true }
- { target: x86_64-apple-darwin, os: macos-14 }
- { target: x86_64-apple-darwin, os: macos-14, }
toolchain:
- stable
# msrv of backhand-cli
Expand All @@ -92,9 +92,13 @@ jobs:
with:
toolchain: ${{ matrix.toolchain }}
# TODO: really only needed for the matrix variables without use-cross
target: ${{ matrix.job.target }}
# build lib and bins with cross
- run: $BUILD_CMD build ${{ matrix.features }} --target ${{ matrix.job.target }} --release --locked --workspace --features xz-static
targets: ${{ matrix.job.target }}

# build lib and bins with cross or cargo
- run: rustup show
- run: echo $BUILD_CMD
- run: $BUILD_CMD +${{ matrix.toolchain }} --version
- run: $BUILD_CMD +${{ matrix.toolchain }} build ${{ matrix.features }} --target ${{ matrix.job.target }} --release --locked --workspace --features xz-static
# test with cross, skipping slow test and tests that use more then qemu default memory without use-cross without use-cross
- run: CROSS_CONTAINER_OPTS="--network host" RUST_LOG=info $BUILD_CMD test --workspace --release ${{ matrix.features }} --target ${{ matrix.job.target }} --features xz-static --locked -- --skip slow --skip no_qemu
# build/test all supported on native x86_64 arch for library and bins (all tests)
Expand Down

0 comments on commit cce1df7

Please sign in to comment.