Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip test that uses JIT #910

Merged
merged 38 commits into from
Mar 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
7f268ea
Skip test that uses JIT
garth-wells Mar 22, 2025
740d153
Work on OneAPI CI
garth-wells Mar 23, 2025
1f28512
Remove env file
garth-wells Mar 23, 2025
41dcc47
Fix channels
garth-wells Mar 23, 2025
9d9d362
Build in CI
garth-wells Mar 23, 2025
af20579
Install pip
garth-wells Mar 23, 2025
54d0573
Try pip3
garth-wells Mar 23, 2025
b45ceaa
Test
garth-wells Mar 23, 2025
4a18897
Test
garth-wells Mar 23, 2025
896652a
pip
garth-wells Mar 23, 2025
383ffc3
Test
garth-wells Mar 23, 2025
09c8794
Test
garth-wells Mar 23, 2025
daaacb5
List env
garth-wells Mar 23, 2025
e2453de
Check env
garth-wells Mar 23, 2025
91db0bc
Test
garth-wells Mar 23, 2025
2fc1c35
More output
garth-wells Mar 23, 2025
ab3fd01
Shorten
garth-wells Mar 23, 2025
f6f59a8
Add env
garth-wells Mar 23, 2025
c4fb041
pip
garth-wells Mar 23, 2025
adf41f6
env
garth-wells Mar 23, 2025
5c68d10
Test
garth-wells Mar 23, 2025
492a2c8
Test
garth-wells Mar 23, 2025
fb1efe5
typo
garth-wells Mar 23, 2025
0ad9212
bash
garth-wells Mar 23, 2025
549be23
Set env
garth-wells Mar 23, 2025
51e1634
Simplify
garth-wells Mar 23, 2025
493efb5
Simplify
garth-wells Mar 23, 2025
0c57087
No build isolation
garth-wells Mar 23, 2025
4472fa1
Install scipy
garth-wells Mar 23, 2025
d7480ff
Add sympy
garth-wells Mar 23, 2025
4e23ace
Install UFL
garth-wells Mar 23, 2025
a7e6385
Use ninja
garth-wells Mar 23, 2025
3234405
Test deps
garth-wells Mar 23, 2025
31291e2
dep
garth-wells Mar 23, 2025
52a5ef7
Install gcc
garth-wells Mar 23, 2025
c796ced
Simplify
garth-wells Mar 23, 2025
3d9d60a
C++ package
garth-wells Mar 23, 2025
8ab36bd
Get working
garth-wells Mar 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ffcx-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ jobs:
- name: Install FFCx
run: pip install ./ffcx[ci]
- name: Run FFCx tests
run: pytest -n auto --ignore=ffcx/test/test_lnodes.py ffcx/test
run: pytest -n auto --ignore=ffcx/test/test_lnodes.py --ignore=ffcx/test/test_custom_data.py ffcx/test
46 changes: 27 additions & 19 deletions .github/workflows/intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,39 +18,47 @@ jobs:
build:
name: Build and test (oneAPI)
runs-on: ubuntu-latest
container: ubuntu:22.04 # Run in container to test with minimal pre-installed packages
container: ubuntu:24.04 # Run in container to test with minimal pre-installed packages
env:
CC: icx
CXX: icpx
DEBIAN_FRONTEND: noninteractive
CMAKE_GENERATOR: Ninja
defaults:
run:
shell: bash -el {0}

steps:
- name: Setup cmake
uses: jwlawson/actions-setup-cmake@v2
with:
cmake-version: '3.30.x'
- name: Install required packages to install Intel compilers and to build
run: apt -y update && apt install -y bzip2 git gnupg ninja-build make wget
- uses: actions/checkout@v4
- name: Install Intel compilers and Intel Python
- name: Install compiler dependencies
run: |
wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | gpg --dearmor | tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null
echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | tee /etc/apt/sources.list.d/oneAPI.list
apt update
apt install -y intel-oneapi-compiler-dpcpp-cpp intel-oneapi-mkl intel-oneapi-python libstdc++-11-dev
apt-get -y update
apt-get -y install binutils libstdc++-14-dev

- uses: actions/checkout@v4

- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: oneapi
python-version: 3.12
channels: https://software.repos.intel.com/python/conda,conda-forge
auto-activate-base: false

- name: Install
run: >
conda install python=3.12 dpcpp_linux-64 cmake git libblas=*=*mkl
matplotlib nanobind ninja numba numpy pip pytest pytest-xdist
scikit-build-core scipy sympy

- name: Install Basix
run: |
. /opt/intel/oneapi/setvars.sh
pip -v install .[test]
pip -v install --no-build-isolation .
- name: Run units tests
run: |
. /opt/intel/oneapi/setvars.sh
pip install pytest-xdist
pip -v install --no-build-isolation git+https://github.com/FEniCS/ufl.git
pytest -n auto --durations 20 test/
- name: Run Python demos
run: |
. /opt/intel/oneapi/setvars.sh
pytest demo/python/test.py
- name: Run C++ demos
run: |
. /opt/intel/oneapi/setvars.sh
pytest demo/cpp/test.py
Loading