Try matrix again

This commit is contained in:
asonix 2024-02-06 22:15:15 -06:00
parent d56ca5eca5
commit b68deb23a1

View file

@ -27,32 +27,20 @@ jobs:
git checkout ${{ env.github_sha }}
cargo test
check-amd64:
check:
strategy:
matrix:
- image: docker.io/asonix/rust-builder:latest-linux-amd64
target: x86_64-unknown-linux-musl
- image: docker.io/asonix/rust-builder:latest-linux-arm32v7
target: armv7-unkown-linux-musleabihf
- image: docker.io/asonix/rust-builder:latest-linux-arm64v8
target: aarch64-unkown-linux-musl
runs-on: docker
container:
image: docker.io/asonix/rust-builder:latest-linux-amd64
image: ${{ matrix.image }}
steps:
- run: |
git clone ${{ env.github_server_url }}/${{ env.github_repository }} .
git checkout ${{ env.github_sha }}
cargo check --target x86_64-unknown-linux-musl
check-arm32v7:
runs-on: docker
container:
image: docker.io/asonix/rust-builder:latest-linux-arm32v7
steps:
- run: |
git clone ${{ env.github_server_url }}/${{ env.github_repository }} .
git checkout ${{ env.github_sha }}
cargo check --target armv7-unkown-linux-musleabihf
check-arm64v8:
runs-on: docker
container:
image: docker.io/asonix/rust-builder:latest-linux-arm64v8
steps:
- run: |
git clone ${{ env.github_server_url }}/${{ env.github_repository }} .
git checkout ${{ env.github_sha }}
cargo check --target aarch64-unkown-linux-musl
cargo check --target ${{ matrix.target }}