|
6 | 6 | test-fast:
|
7 | 7 | strategy:
|
8 | 8 | matrix:
|
9 |
| - num-high: [ 0, 1, 2, 3, 4, 5, 6, 7 ] |
| 9 | + num-high: [ 0 ] # [ 0, 1, 2 ] |
10 | 10 | os-ver: [ '22.04', '24.04' ]
|
11 |
| - channel: [ stable, beta ] |
12 |
| - num-low: [ 0, 1, 2, 3, 4, 5, 6, 7 ] |
| 11 | + channel: [ stable, beta, nightly ] |
| 12 | + get-rust-by: [ rt-action, curl-sh ] |
| 13 | + get-nextest-by: [ i-action, cargo-qi ] |
| 14 | + num-low: [ 0 ] # [ 0, 1, 2 ] |
13 | 15 |
|
14 | 16 | fail-fast: false
|
15 | 17 |
|
16 | 18 | runs-on: ubuntu-${{ matrix.os-ver }}-arm
|
17 | 19 |
|
18 | 20 | steps:
|
19 | 21 | - uses: actions/checkout@v4
|
20 |
| - - uses: dtolnay/rust-toolchain@master |
| 22 | + - if: matrix.get-rust-by == 'rt-action' |
| 23 | + uses: dtolnay/rust-toolchain@master |
21 | 24 | with:
|
22 | 25 | toolchain: ${{ matrix.channel }}
|
| 26 | + - if: matrix.get-rust-by == 'curl-sh' |
| 27 | + name: Install Rust via sh.rustup.rs |
| 28 | + run: | |
| 29 | + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | |
| 30 | + sh -s -- -y --default-toolchain ${{ matrix.channel }} |
| 31 | + echo "PATH=$HOME/.cargo/bin:$PATH" >> "$GITHUB_ENV" |
23 | 32 | # - uses: Swatinem/rust-cache@v2
|
24 |
| - - uses: taiki-e/install-action@v2 |
| 33 | + - if: matrix.get-nextest-by == 'i-action' |
| 34 | + uses: taiki-e/install-action@v2 |
25 | 35 | with:
|
26 | 36 | tool: nextest
|
27 |
| - # - name: Set RUST_MIN_STACK |
28 |
| - # if: matrix.increase-stack |
29 |
| - # run: echo RUST_MIN_STACK=16777216 >>"$GITHUB_ENV" |
| 37 | + - if: matrix.get-nextest-by == 'cargo-qi' |
| 38 | + name: Install nextest with quickinstall/binstall |
| 39 | + run: | |
| 40 | + cargo install cargo-quickinstall |
| 41 | + cargo quickinstall cargo-binstall |
| 42 | + cargo quickinstall cargo-nextest |
30 | 43 | - name: Test (nextest)
|
31 | 44 | env:
|
32 | 45 | GIX_TEST_CREATE_ARCHIVES_EVEN_ON_CI: '1'
|
|
0 commit comments