Skip to content

Commit bdf135a

Browse files
Build with clang for version of Python, with official and pre-release NumPy
1 parent d59f356 commit bdf135a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/build-with-clang.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ jobs:
1111
name: Build project with IntelLLVM clang compiler
1212
runs-on: ubuntu-latest
1313

14+
strategy:
15+
matrix:
16+
python: ["3.9", "3.10", "3.11", "3.12"]
17+
use_pre: ["", "--pre"]
1418
env:
1519
ONEAPI_ROOT: /opt/intel/oneapi
1620

@@ -37,7 +41,7 @@ jobs:
3741
- name: Setup Python
3842
uses: actions/setup-python@v5
3943
with:
40-
python-version: '3.12'
44+
python-version: ${{ matrix.python }}
4145
architecture: x64
4246

4347
- name: Checkout repo
@@ -48,7 +52,8 @@ jobs:
4852
- name: Install mkl_random dependencies
4953
shell: bash -l {0}
5054
run: |
51-
pip install numpy cython setuptools pytest pytest-cov
55+
pip install cython setuptools pytest pytest-cov
56+
pip install numpy ${{ use_pre }}
5257
5358
- name: List oneAPI folder content
5459
shell: bash -l {0}

0 commit comments

Comments
 (0)