diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5a045d3b5d..63fc99401d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,6 +60,7 @@ jobs: ] features: [ "--no-default-features", "", "--features __internal_use_only_features_that_work_on_stable", "--all-features" ] crate: [ "zerocopy", "zerocopy-derive" ] + event_name: [ "${{ github.event_name }}" ] exclude: # Exclude any combination which uses a non-nightly toolchain but # enables nightly features. @@ -73,7 +74,6 @@ jobs: features: "--all-features" - toolchain: "zerocopy-panic-in-const" features: "--all-features" - # Exclude any combination for the zerocopy-derive crate which # uses zerocopy features. - crate: "zerocopy-derive" @@ -92,6 +92,24 @@ jobs: toolchain: "zerocopy-aarch64-simd" - crate: "zerocopy-derive" toolchain: "zerocopy-panic-in-const" + # Exclude most targets during PR development, but allow them in the + # merge queue. This speeds up our development flow, while still + # ensuring that errors on these targets are caught before a PR is + # merged to main. + - target: "arm-unknown-linux-gnueabi" + event_name: "pull_request" + - target: "aarch64-unknown-linux-gnu" + event_name: "pull_request" + - target: "powerpc-unknown-linux-gnu" + event_name: "pull_request" + - target: "powerpc64-unknown-linux-gnu" + event_name: "pull_request" + - target: "riscv64gc-unknown-linux-gnu" + event_name: "pull_request" + - target: "s390x-unknown-linux-gnu" + event_name: "pull_request" + - target: "wasm32-wasi" + event_name: "pull_request" name: Build & Test (${{ matrix.crate }} / ${{ matrix.toolchain }} / ${{ matrix.features }} / ${{ matrix.target }})