Skip to content

Commit

Permalink
Update icc github action
Browse files Browse the repository at this point in the history
  • Loading branch information
serge-sans-paille committed Nov 28, 2023
1 parent 258ab9a commit f508f03
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/icc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Setup
run: |
python setup.py install
printf '[commpiler]\nblas=openblas\n' > ~/.pythranrc
printf '[compiler]\nblas=openblas\n' > ~/.pythranrc
- name: Testing minimal CLI
run: |
pythran --version
Expand All @@ -46,6 +46,5 @@ jobs:
run: |
export CC=`echo ${{ matrix.cpp-version }} | sed -e 's/g++/icx/'`
export CXX=`echo ${{ matrix.cpp-version }} | sed -e 's/clang/icx/'`
LATEST_VERSION=$(ls -1 /opt/intel/oneapi/compiler/ | grep -v latest | sort | tail -1)
source /opt/intel/oneapi/compiler/"$LATEST_VERSION"/env/vars.sh
source /opt/intel/oneapi/compiler/setvars.sh
pytest pythran/tests/test_base.py pythran/tests/test_scipy.py pythran/tests/test_icc.py -v -x --numprocesses=auto $PYTEST_ARGS

0 comments on commit f508f03

Please sign in to comment.