10 runs-on: ubuntu-latest
11 name: (${{ matrix.target }}, ${{ matrix.cfg_release_channel }})
13 CFG_RELEASE_CHANNEL: ${{ matrix.cfg_release_channel }}
15 # https://help.github.com/en/actions/getting-started-with-github-actions/about-github-actions#usage-limits
16 # There's a limit of 60 concurrent jobs across all repos in the rust-lang organization.
17 # In order to prevent overusing too much of that 60 limit, we throttle the
18 # number of rustfmt jobs that will run concurrently.
23 x86_64-unknown-linux-gnu,
25 cfg_release_channel: [nightly, stable]
29 uses: actions/checkout@v3
32 - name: install rustup
34 curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup-init.sh
35 sh rustup-init.sh -y --default-toolchain none
36 rustup target add ${{ matrix.target }}
38 - name: Build and Test
39 run: ./ci/build_and_test.sh