-
Notifications
You must be signed in to change notification settings - Fork 8
53 lines (44 loc) · 1.35 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: V8 Tests
on:
pull_request:
types: [opened, synchronize, reopened, labeled]
branches:
- master
jobs:
test:
runs-on: ubuntu-20.04
steps:
# Checkout repos and submodules
- uses: actions/checkout@v2
- name: Setup Environments
run: ./.github/scripts/ci-setup.sh
# Be aware that any changes made to the following steps should be made to ci-test.sh as well.
# MMTk core tests the V8 binding by invoking ci-test.sh.
- name: Build MMTk NoGC
run: ./.github/scripts/build-mmtk.sh
- name: Style check Rust
run: ./.github/scripts/ci-style.sh
- name: Get V8 Sources
run: ./.github/scripts/get-v8.sh
- name: Build V8 with MMTk
run: ./.github/scripts/build-v8.sh
- name: Run V8 Tests
run: ./.github/scripts/test-v8.sh
msrv:
runs-on: ubuntu-20.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