-
Notifications
You must be signed in to change notification settings - Fork 9
53 lines (45 loc) · 1.49 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Dacapo Tests
on:
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-22.04
steps:
# Checkout repos and submodules
- uses: actions/checkout@v2
- name: Setup Environments
run: |
./.github/scripts/ci-checkout.sh
./.github/scripts/ci-setup.sh
# Run the tests
- name: Dacapo Tests
run: ./.github/scripts/ci-test-normal.sh
# Run these checks after build
# Style check
- name: Style checks
run: ./.github/scripts/ci-style.sh
# Verify the MSRV defined in Cargo.toml
- name: Install MSRV
run: cargo install cargo-msrv --locked
# Run cargo-msrv (force using i686 toolchain)
- name: Verify MSRV
id: verify-msrv
run: cargo msrv --path mmtk --target i686-unknown-linux-gnu verify -- cargo check --features semispace --target i686-unknown-linux-gnu
# If the previous step fails, find MSRV
- name: Find MSRV
if: ${{ steps.verify-msrv.outcome == 'failure' }}
run: cargo msrv --path mmtk --target i686-unknown-linux-gnu -- cargo check --features semispace --target i686-unknown-linux-gnu
test-weak-ref:
runs-on: ubuntu-22.04
steps:
# Checkout repos
- uses: actions/checkout@v2
- name: Setup Environments
run: |
./.github/scripts/ci-checkout.sh
./.github/scripts/ci-setup.sh
# Run the tests
- name: Dacapo Tests
run: ./.github/scripts/ci-test-weak-ref.sh