Skip to content

Commit 6760b3a

Browse files
[ci] Test unvendoring of xsimd and boost
Related to #2286
1 parent 6ec6911 commit 6760b3a

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/system-dep.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: system-dep
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: Setup Python
16+
uses: actions/setup-python@v4
17+
- name: Install dependencies
18+
run: |
19+
python -m pip install --upgrade pip
20+
pip install scipy scipy-openblas64
21+
pip install pytest-xdist
22+
sudo apt install ${{ matrix.cpp-version }}
23+
sudo apt install libopenblas-dev
24+
sudo apt install libboost-all-dev libxsimd-dev
25+
- name: Unvendor
26+
run: |
27+
rm -r pythran/boost pythran/xsimd # Unvendor third-party
28+
- name: Setup
29+
run: |
30+
python -m pip install .
31+
python -m pip install . 'pythran[test]'
32+
printf '[compiler]\nblas=scipy-openblas\n' > ~/.config/.pythranrc
33+
- name: Testing boost and xsimd integration
34+
run: |
35+
pytest pythran/tests/test_scipy.py -v -x --numprocesses=auto $PYTEST_ARGS

0 commit comments

Comments
 (0)