fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
926 B44 linesraw
1name: Various rustc tests
2
3on:
4  - push
5
6jobs:
7  bootstrap_rustc:
8    runs-on: ubuntu-latest
9    timeout-minutes: 60
10
11    steps:
12    - uses: actions/checkout@v3
13
14    - name: Cache cargo target dir
15      uses: actions/cache@v3
16      with:
17        path: build/cg_clif
18        key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('rust-toolchain', '**/Cargo.lock') }}
19
20    - name: Prepare dependencies
21      run: ./y.sh prepare
22
23    - name: Test
24      run: ./scripts/test_bootstrap.sh
25
26
27  rustc_test_suite:
28    runs-on: ubuntu-latest
29    timeout-minutes: 60
30
31    steps:
32    - uses: actions/checkout@v3
33
34    - name: Cache cargo target dir
35      uses: actions/cache@v3
36      with:
37        path: build/cg_clif
38        key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('rust-toolchain', '**/Cargo.lock') }}
39
40    - name: Prepare dependencies
41      run: ./y.sh prepare
42
43    - name: Test
44      run: ./scripts/test_rustc_tests.sh