]> git.proxmox.com Git - rustc.git/blame - compiler/rustc_codegen_cranelift/.github/workflows/rustc.yml
New upstream version 1.76.0+dfsg1
[rustc.git] / compiler / rustc_codegen_cranelift / .github / workflows / rustc.yml
CommitLineData
cdc7bbd5
XL
1name: Various rustc tests
2
3on:
4 - push
5
6jobs:
7 bootstrap_rustc:
8 runs-on: ubuntu-latest
49aad941 9 timeout-minutes: 60
cdc7bbd5
XL
10
11 steps:
923072b8 12 - uses: actions/checkout@v3
cdc7bbd5 13
4b012472
FG
14 - name: CPU features
15 run: cat /proc/cpuinfo
16
cdc7bbd5 17 - name: Cache cargo target dir
9c376795 18 uses: actions/cache@v3
cdc7bbd5 19 with:
9c376795 20 path: build/cg_clif
cdc7bbd5
XL
21 key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('rust-toolchain', '**/Cargo.lock') }}
22
9ffffee4 23 - name: Prepare dependencies
fe692bf9 24 run: ./y.sh prepare
cdc7bbd5 25
9ffffee4
FG
26 - name: Test
27 run: ./scripts/test_bootstrap.sh
49aad941
FG
28
29
cdc7bbd5
XL
30 rustc_test_suite:
31 runs-on: ubuntu-latest
49aad941 32 timeout-minutes: 60
cdc7bbd5
XL
33
34 steps:
923072b8 35 - uses: actions/checkout@v3
cdc7bbd5 36
4b012472
FG
37 - name: CPU features
38 run: cat /proc/cpuinfo
39
cdc7bbd5 40 - name: Cache cargo target dir
9c376795 41 uses: actions/cache@v3
cdc7bbd5 42 with:
9c376795 43 path: build/cg_clif
cdc7bbd5
XL
44 key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('rust-toolchain', '**/Cargo.lock') }}
45
9ffffee4 46 - name: Prepare dependencies
fe692bf9 47 run: ./y.sh prepare
cdc7bbd5 48
9ffffee4
FG
49 - name: Test
50 run: ./scripts/test_rustc_tests.sh