10 runs-on: ubuntu-latest
11 name: ${{ matrix.integration }}
13 # https://help.github.com/en/actions/getting-started-with-github-actions/about-github-actions#usage-limits
14 # There's a limit of 60 concurrent jobs across all repos in the rust-lang organization.
15 # In order to prevent overusing too much of that 60 limit, we throttle the
16 # number of rustfmt jobs that will run concurrently.
34 # Actions doesn't yet support explicitly marking matrix legs as allowed failures
35 # https://github.community/t5/GitHub-Actions/continue-on-error-allow-failure-UI-indication/td-p/37033
36 # https://github.community/t5/GitHub-Actions/Why-a-matrix-step-will-be-canceled-if-another-one-failed/td-p/30920
37 # Instead, leverage `continue-on-error`
38 # https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idstepscontinue-on-error
40 # Failing due to breaking changes in rustfmt 2.0 where empty
41 # match blocks have trailing commas removed
42 # https://github.com/rust-lang/rustfmt/pull/4226
49 - integration: stdsimd
51 # Using old rustfmt configuration option
54 # Keep this as an allowed failure as it's fragile to breaking changes of rustc.
55 - integration: rust-clippy
57 # Using old rustfmt configuration option
58 - integration: packed_simd
60 # calebcartwright (2019-12-24)
61 # Keeping this as an allowed failure since it was flagged as such in the TravisCI config, even though
62 # it appears to have been passing for quite some time.
63 # Original comment was: temporal build failure due to breaking changes in the nightly compiler
64 - integration: rust-semverver
66 # Can be moved back to include section after https://github.com/rust-lang-nursery/failure/pull/298 is merged
67 - integration: failure
72 uses: actions/checkout@v3
75 - name: install rustup
77 curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup-init.sh
78 sh rustup-init.sh -y --default-toolchain none
80 - name: run integration tests
82 INTEGRATION: ${{ matrix.integration }}
83 TARGET: x86_64-unknown-linux-gnu
84 run: ./ci/integration.sh
85 continue-on-error: ${{ matrix.allow-failure == true }}