refactor(selfhost): use char literals, operator continuation, mut-sca… #850
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |