]>
Commit | Line | Data |
---|---|---|
cdc7bbd5 XL |
1 | name: Various rustc tests |
2 | ||
3 | on: | |
4 | - push | |
5 | ||
e8be2606 FG |
6 | permissions: {} |
7 | ||
cdc7bbd5 XL |
8 | jobs: |
9 | bootstrap_rustc: | |
10 | runs-on: ubuntu-latest | |
49aad941 | 11 | timeout-minutes: 60 |
cdc7bbd5 XL |
12 | |
13 | steps: | |
c0240ec0 | 14 | - uses: actions/checkout@v4 |
cdc7bbd5 | 15 | |
4b012472 FG |
16 | - name: CPU features |
17 | run: cat /proc/cpuinfo | |
18 | ||
cdc7bbd5 | 19 | - name: Cache cargo target dir |
c0240ec0 | 20 | uses: actions/cache@v4 |
cdc7bbd5 | 21 | with: |
9c376795 | 22 | path: build/cg_clif |
cdc7bbd5 XL |
23 | key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('rust-toolchain', '**/Cargo.lock') }} |
24 | ||
9ffffee4 | 25 | - name: Prepare dependencies |
fe692bf9 | 26 | run: ./y.sh prepare |
cdc7bbd5 | 27 | |
9ffffee4 FG |
28 | - name: Test |
29 | run: ./scripts/test_bootstrap.sh | |
49aad941 FG |
30 | |
31 | ||
cdc7bbd5 XL |
32 | rustc_test_suite: |
33 | runs-on: ubuntu-latest | |
49aad941 | 34 | timeout-minutes: 60 |
cdc7bbd5 XL |
35 | |
36 | steps: | |
c0240ec0 | 37 | - uses: actions/checkout@v4 |
cdc7bbd5 | 38 | |
4b012472 FG |
39 | - name: CPU features |
40 | run: cat /proc/cpuinfo | |
41 | ||
cdc7bbd5 | 42 | - name: Cache cargo target dir |
c0240ec0 | 43 | uses: actions/cache@v4 |
cdc7bbd5 | 44 | with: |
9c376795 | 45 | path: build/cg_clif |
cdc7bbd5 XL |
46 | key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('rust-toolchain', '**/Cargo.lock') }} |
47 | ||
c0240ec0 FG |
48 | - name: Install ripgrep |
49 | run: | | |
50 | sudo apt update | |
51 | sudo apt install -y ripgrep | |
52 | ||
9ffffee4 | 53 | - name: Prepare dependencies |
fe692bf9 | 54 | run: ./y.sh prepare |
cdc7bbd5 | 55 | |
9ffffee4 FG |
56 | - name: Test |
57 | run: ./scripts/test_rustc_tests.sh |