66
66
- uses : actions/checkout@v4
67
67
- uses : Swatinem/rust-cache@v2
68
68
with :
69
- shared-key : " stable- ${{ runner.os }}"
69
+ shared-key : " ${{ runner.os }}_stable-rust_cargo-clippy "
70
70
workspaces : " light-curve"
71
71
- run : cargo clippy --manifest-path=light-curve/Cargo.toml --all-targets -- -D warnings
72
72
90
90
uses : taiki-e/install-action@cargo-llvm-cov
91
91
- uses : Swatinem/rust-cache@v2
92
92
with :
93
- shared-key : " stable- ${{ runner.os }}"
93
+ shared-key : " ${{ runner.os }}_stable-rust_maturin-develop "
94
94
workspaces : " light-curve"
95
95
- name : Set up Python
96
96
uses : actions/setup-python@v5
@@ -128,10 +128,10 @@ jobs:
128
128
uses : actions/setup-python@v5
129
129
with :
130
130
python-version : " 3.12"
131
- - name : Install system packages
132
- run : |
133
- sudo apt-get update
134
- sudo apt-get install -y libfftw3-dev libgsl-dev
131
+ - uses : Swatinem/rust-cache@v2
132
+ with :
133
+ shared-key : " ${{ runner.os }}_stable-rust_maturin-develop-release "
134
+ workspaces : " light-curve "
135
135
- name : Run benchmarks
136
136
uses : CodSpeedHQ/action@v2
137
137
with :
@@ -141,7 +141,7 @@ jobs:
141
141
python3 -m venv venv
142
142
. venv/bin/activate
143
143
pip install "${{ needs.py_build_deps.outputs.output }}" pytest-codspeed
144
- maturin develop --extras=test-no-bench,test --release --no-default-features --features=ceres-source,fftw-system,gsl,mimalloc
144
+ maturin develop --extras=test-no-bench,test --release
145
145
python3 -mpytest -m "not (nobs or multi)" --codspeed tests/test_w_bench.py
146
146
147
147
msrv-build :
@@ -183,7 +183,7 @@ jobs:
183
183
toolchain : ${{ steps.get_msrv.outputs.msrv }}
184
184
- uses : Swatinem/rust-cache@v2
185
185
with :
186
- shared-key : " msrv- ${{ runner.os }}"
186
+ shared-key : " ${{ runner.os }}_msrv-rust_maturin-build "
187
187
workspaces : " light-curve"
188
188
- name : Install build_deps
189
189
run : pip install "${{ needs.py_build_deps.outputs.output }}"
0 commit comments