2021-03-29 03:45:09 -05:00
|
|
|
name: Various rustc tests
|
|
|
|
|
|
|
|
on:
|
|
|
|
- push
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
bootstrap_rustc:
|
|
|
|
runs-on: ubuntu-latest
|
2023-04-29 07:00:43 -05:00
|
|
|
timeout-minutes: 60
|
2021-03-29 03:45:09 -05:00
|
|
|
|
|
|
|
steps:
|
2022-05-15 05:32:19 -05:00
|
|
|
- uses: actions/checkout@v3
|
2021-03-29 03:45:09 -05:00
|
|
|
|
|
|
|
- name: Cache cargo target dir
|
2022-12-14 12:30:46 -06:00
|
|
|
uses: actions/cache@v3
|
2021-03-29 03:45:09 -05:00
|
|
|
with:
|
2022-12-14 12:30:46 -06:00
|
|
|
path: build/cg_clif
|
2021-03-29 03:45:09 -05:00
|
|
|
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('rust-toolchain', '**/Cargo.lock') }}
|
|
|
|
|
2023-01-24 11:56:42 -06:00
|
|
|
- name: Prepare dependencies
|
2023-06-15 12:56:01 -05:00
|
|
|
run: ./y.sh prepare
|
2021-03-29 03:45:09 -05:00
|
|
|
|
2023-01-24 11:56:42 -06:00
|
|
|
- name: Test
|
|
|
|
run: ./scripts/test_bootstrap.sh
|
2023-04-29 07:00:43 -05:00
|
|
|
|
|
|
|
|
2021-03-29 03:45:09 -05:00
|
|
|
rustc_test_suite:
|
|
|
|
runs-on: ubuntu-latest
|
2023-04-29 07:00:43 -05:00
|
|
|
timeout-minutes: 60
|
2021-03-29 03:45:09 -05:00
|
|
|
|
|
|
|
steps:
|
2022-05-15 05:32:19 -05:00
|
|
|
- uses: actions/checkout@v3
|
2021-03-29 03:45:09 -05:00
|
|
|
|
|
|
|
- name: Cache cargo target dir
|
2022-12-14 12:30:46 -06:00
|
|
|
uses: actions/cache@v3
|
2021-03-29 03:45:09 -05:00
|
|
|
with:
|
2022-12-14 12:30:46 -06:00
|
|
|
path: build/cg_clif
|
2021-03-29 03:45:09 -05:00
|
|
|
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('rust-toolchain', '**/Cargo.lock') }}
|
|
|
|
|
2023-01-24 11:56:42 -06:00
|
|
|
- name: Prepare dependencies
|
2023-06-15 12:56:01 -05:00
|
|
|
run: ./y.sh prepare
|
2021-03-29 03:45:09 -05:00
|
|
|
|
2023-01-24 11:56:42 -06:00
|
|
|
- name: Test
|
|
|
|
run: ./scripts/test_rustc_tests.sh
|