Skip to content

Commit af9117b

Browse files
committed
parallelize builds and install nightly cython for free-threaded build
1 parent de3280d commit af9117b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/compiler_sanitizers.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
pip install -r requirements/test_requirements.txt
6262
- name: Build
6363
run:
64-
python -m spin build -- -Db_sanitize=address
64+
python -m spin build -j2 -- -Db_sanitize=address
6565
- name: Test
6666
run: |
6767
# pass -s to pytest to see ASAN errors and warnings, otherwise pytest captures them
@@ -104,12 +104,14 @@ jobs:
104104
CONFIGURE_OPTS="--with-thread-sanitizer" pyenv install 3.13t
105105
pyenv global 3.13t
106106
echo $PATH
107+
# TODO: remove when a released cython supports free-threaded python
108+
pip install -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple cython
107109
pip install -r requirements/build_requirements.txt
108110
pip install -r requirements/ci_requirements.txt
109111
pip install -r requirements/test_requirements.txt
110112
- name: Build
111113
run:
112-
python -m spin build -- -Db_sanitize=thread
114+
python -m spin build -j2 -- -Db_sanitize=thread
113115
- name: Test
114116
run: |
115117
# pass -s to pytest to see TSAN errors and warnings, otherwise pytest captures them

0 commit comments

Comments
 (0)