-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (35 loc) · 1.08 KB
/
Copy pathci.yml
File metadata and controls
46 lines (35 loc) · 1.08 KB
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
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
rust:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- name: Install nextest
uses: taiki-e/install-action@nextest
- name: Check
run: cargo run --quiet --bin rss -- test --all
# The `test --all` manifest builds the default feature set; the native
# (Cranelift) JIT tier is behind the off-by-default `native-jit` feature, so
# run the rsscript suite with it enabled to keep the NativeJit and deopt
# backends in the no-gap differential.
native-jit:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Install nextest
uses: taiki-e/install-action@nextest
- name: Test (native-jit)
run: cargo nextest run -p rsscript --features native-jit --no-fail-fast