mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Optimize CI cache usage (#6707)
* Make whats_left.py compile with same settings as before * Add --no-default-features to scripts/whats_left.py * Build RustPython with no default features * Retrigger CI
This commit is contained in:
1 parent
ce1bbc7938
commit
122fac9c53
2 files changed
+29
-14
No files matched your search
@@ -422,8 +422,14 @@ jobs:
|
||||
run: |
|
||||
target/release/rustpython -m venv testvenv
|
||||
testvenv/bin/rustpython -m pip install wheel
|
||||
- name: Check whats_left is not broken
|
||||
run: python -I scripts/whats_left.py
|
||||
- if: runner.os != 'macOS'
|
||||
name: Check whats_left is not broken
|
||||
shell: bash
|
||||
run: python -I scripts/whats_left.py --no-default-features --features "$(sed -e 's/--[^ ]*//g' <<< "${{ env.CARGO_ARGS }}" | tr -d '[:space:]'),threading,jit"
|
||||
- if: runner.os == 'macOS' # TODO fix jit on macOS
|
||||
name: Check whats_left is not broken (macOS)
|
||||
shell: bash
|
||||
run: python -I scripts/whats_left.py --no-default-features --features "$(sed -e 's/--[^ ]*//g' <<< "${{ env.CARGO_ARGS }}" | tr -d '[:space:]'),threading" # no jit on macOS for now
|
||||
|
||||
lint:
|
||||
name: Check Rust code with clippy
|
||||
|
||||
Reference in new issue
Block a user