matrix: ARCH: - 'amd64' - 'arm64' platform: "linux/${ARCH}" when: branch: exclude: [main] event: push steps: build: image: 'rust:1.71-alpine3.18' commands: - apk add --no-cache build-base - cargo build --verbose - cargo test --verbose # Binaries, even debug ones, should be statically compiled - '[ "$(readelf -d target/debug/alex | grep NEEDED | wc -l)" = 0 ]'