-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: try out possible speedups (#939)
* ci: try out possible speedups Signed-off-by: Henry Schreiner <[email protected]> * ci: try ccache Signed-off-by: Henry Schreiner <[email protected]> --------- Signed-off-by: Henry Schreiner <[email protected]>
- Loading branch information
Showing
1 changed file
with
13 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,7 +37,7 @@ jobs: | |
run: cmake -S. -Bbuild -DCMAKE_CXX_CLANG_TIDY="$(which clang-tidy);--warnings-as-errors=*" | ||
|
||
- name: Build | ||
run: cmake --build build -j 2 | ||
run: cmake --build build -j 4 | ||
|
||
pylint: | ||
runs-on: ubuntu-latest | ||
|
@@ -60,7 +60,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ["3.7", "3.9", "3.12", "pypy3.9"] | ||
python-version: ["3.9", "3.12", "pypy3.9"] | ||
include: | ||
- python-version: "3.8" | ||
cmake-extras: "-DCMAKE_CXX_STANDARD=17" | ||
|
@@ -76,14 +76,23 @@ jobs: | |
python-version: ${{ matrix.python-version }} | ||
allow-prereleases: true | ||
|
||
- uses: rui314/setup-mold@v1 | ||
|
||
- uses: yezz123/setup-uv@v4 | ||
|
||
- uses: hendrikmuhs/[email protected] | ||
with: | ||
key: ${{ matrix.python-version }} | ||
create-symlink: true | ||
|
||
- name: Install python tools | ||
run: python -m pip install -r dev-requirements.txt pytest-github-actions-annotate-failures numpy>=2.0.0rc1 | ||
run: uv pip install --system -r dev-requirements.txt pytest-github-actions-annotate-failures 'numpy>=2.0.0b1; python_version>="3.9"' | ||
|
||
- name: Configure | ||
run: cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Debug -DBOOST_HISTOGRAM_ERRORS=ON ${{ matrix.cmake-extras }} | ||
|
||
- name: Build | ||
run: cmake --build build -j 2 | ||
run: cmake --build build -j 4 | ||
|
||
- name: Test | ||
working-directory: ./build | ||
|