mirror of https://github.com/astral-sh/ruff
Add a `--release` build to CI (#11182)
## Summary We merged a failure here (#11177), and it only takes ~five minutes anyway (which is shorter than some of our other jobs).
This commit is contained in:
parent
00d7c01cfc
commit
dfe90a3b2b
|
|
@ -194,6 +194,22 @@ jobs:
|
||||||
cd crates/ruff_wasm
|
cd crates/ruff_wasm
|
||||||
wasm-pack test --node
|
wasm-pack test --node
|
||||||
|
|
||||||
|
cargo-build-release:
|
||||||
|
name: "cargo build (release)"
|
||||||
|
runs-on: macos-latest
|
||||||
|
needs: determine_changes
|
||||||
|
if: ${{ needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main' }}
|
||||||
|
timeout-minutes: 20
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: "Install Rust toolchain"
|
||||||
|
run: rustup show
|
||||||
|
- name: "Install mold"
|
||||||
|
uses: rui314/setup-mold@v1
|
||||||
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
- name: "Build"
|
||||||
|
run: cargo build --release --locked
|
||||||
|
|
||||||
cargo-fuzz:
|
cargo-fuzz:
|
||||||
name: "cargo fuzz"
|
name: "cargo fuzz"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue