@@ -15,28 +15,47 @@ jobs:
15
15
run : |
16
16
./.github/scripts/ci-checkout.sh
17
17
./.github/scripts/ci-setup.sh
18
-
19
18
# Run the tests
20
19
- name : Dacapo Tests
21
20
run : ./.github/scripts/ci-test-normal.sh
22
21
23
- # Run these checks after build
24
-
22
+ style-check :
23
+ runs-on : ubuntu-22.04
24
+ steps :
25
+ # Checkout repos and submodules
26
+ - uses : actions/checkout@v2
27
+ - name : Setup Environments
28
+ run : |
29
+ ./.github/scripts/ci-checkout.sh
30
+ ./.github/scripts/ci-setup.sh
25
31
# Style check
26
32
- name : Style checks
27
33
run : ./.github/scripts/ci-style.sh
28
34
35
+ msrv :
36
+ runs-on : ubuntu-22.04
37
+ steps :
38
+ # Checkout repos and submodules
39
+ - uses : actions/checkout@v2
40
+ - name : Setup Environments
41
+ run : |
42
+ ./.github/scripts/ci-checkout.sh
43
+ ./.github/scripts/ci-setup.sh
44
+ # Do a build first to generated the file needed for the Rust crate.
45
+ - name : Build
46
+ run : |
47
+ ./.github/scripts/ci-build.sh RBaseBaseNoGC
29
48
# Verify the MSRV defined in Cargo.toml
30
49
- name : Install MSRV
31
- run : cargo install cargo-msrv --locked
50
+ run : cargo +stable install cargo-msrv --locked
32
51
# Run cargo-msrv (force using i686 toolchain)
33
52
- name : Verify MSRV
34
53
id : verify-msrv
35
- run : cargo msrv --path mmtk --target i686-unknown-linux-gnu verify -- cargo check --features semispace --target i686-unknown-linux-gnu
54
+ run : cargo msrv verify --path mmtk --target i686-unknown-linux-gnu -- cargo check --features semispace --target i686-unknown-linux-gnu
36
55
# If the previous step fails, find MSRV
37
56
- name : Find MSRV
38
57
if : ${{ steps.verify-msrv.outcome == 'failure' }}
39
- run : cargo msrv --path mmtk --target i686-unknown-linux-gnu -- cargo check --features semispace --target i686-unknown-linux-gnu
58
+ run : cargo msrv find --path mmtk --target i686-unknown-linux-gnu -- cargo check --features semispace --target i686-unknown-linux-gnu
40
59
41
60
test-weak-ref :
42
61
runs-on : ubuntu-22.04
0 commit comments