Skip to content

Fixing CI scripts

Fixing CI scripts #353

Workflow file for this run

name: V8 Tests
on:
pull_request:
types: [opened, synchronize, reopened, labeled]
branches:
- master
jobs:
test:
runs-on: ubuntu-22.04
steps:
# Checkout repos and submodules
- uses: actions/checkout@v4
- 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-22.04
steps:
- uses: actions/checkout@v4
# Show the Rust toolchain we are actually using
- run: rustup show
- run: cargo --version
- name: Install cargo-msrv
# The cargo-msrv tool sometimes requires a higher Rust version than our current rust-toolchain.
run: cargo +stable 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 find