-
Notifications
You must be signed in to change notification settings - Fork 33
81 lines (71 loc) · 2.13 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
name: DaCapo Tests
on:
pull_request:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-22.04
steps:
- 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-build.sh
./.github/scripts/ci-test-only-normal.sh
- name: DaCapo Tests with valid object bit (VO bit)
run: ./.github/scripts/ci-test-vo-bit.sh
- name: DaCapo Tests with malloc Mark-Sweep
run: ./.github/scripts/ci-test-malloc-mark-sweep.sh
# Style check
- name: Style checks
run: ./.github/scripts/ci-style.sh
test-weak-ref:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Setup environments
run: |
./.github/scripts/ci-checkout.sh
./.github/scripts/ci-setup.sh
# Run the tests
- name: DaCapo Tests with weak reference processing
run: |
./.github/scripts/ci-build.sh
./.github/scripts/ci-test-only-weak-ref.sh
test-assertions:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Setup Environments
run: |
./.github/scripts/ci-checkout.sh
./.github/scripts/ci-setup.sh
# Run the tests with assertions
- name: DaCapo Test (with extreme_assertions)
run: ./.github/scripts/ci-test-assertions.sh
msrv:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Install cargo-msrv
run: cargo install cargo-msrv
# Verify the MSRV defined in Cargo.toml
- name: Verify MSRV
run: cargo msrv --path mmtk verify
# If the previous step fails, find MSRV
- name: Find MSRV
if: failure()
run: cargo msrv --path mmtk