2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-12-22 19:31:35 +00:00

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 }} git checkout ${{ env.github_sha }}
cargo test 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 runs-on: docker
container: container:
image: docker.io/asonix/rust-builder:latest-linux-amd64 image: ${{ matrix.image }}
steps: steps:
- run: | - run: |
git clone ${{ env.github_server_url }}/${{ env.github_repository }} . git clone ${{ env.github_server_url }}/${{ env.github_repository }} .
git checkout ${{ env.github_sha }} git checkout ${{ env.github_sha }}
cargo check --target x86_64-unknown-linux-musl cargo check --target ${{ matrix.target }}
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