Skip to content

Commit 1e172e6

Browse files
DROP BEFORE MERGE: install nanobind from source in workflows
1 parent 8f85ee7 commit 1e172e6

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed

.github/workflows/ccpp.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,15 @@ jobs:
4747
steps:
4848
- uses: actions/checkout@v4
4949

50+
- name: Install nanobind from source
51+
run: |
52+
git clone https://github.com/wjakob/nanobind.git /tmp/nanobind-src
53+
cd /tmp/nanobind-src
54+
git submodule update --init --recursive
55+
cmake -D NB_TEST=off .
56+
python3 -m pip install .
57+
rm -rf /tmp/nanobind-src
58+
5059
- name: Install FEniCS Python components (default branches/tags)
5160
if: github.event_name != 'workflow_dispatch'
5261
run: |

.github/workflows/oneapi.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,16 @@ jobs:
3131
steps:
3232
- uses: actions/checkout@v4
3333

34+
- name: Install nanobind from source
35+
run: |
36+
. /opt/intel/oneapi/setvars.sh
37+
git clone https://github.com/wjakob/nanobind.git /tmp/nanobind-src
38+
cd /tmp/nanobind-src
39+
git submodule update --init --recursive
40+
cmake -D NB_TEST=off .
41+
python3 -m pip install .
42+
rm -rf /tmp/nanobind-src
43+
3444
- name: Install Basix
3545
run: |
3646
. /opt/intel/oneapi/setvars.sh

.github/workflows/redhat.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,15 @@ jobs:
2424
steps:
2525
- uses: actions/checkout@v4
2626

27+
- name: Install nanobind from source
28+
run: |
29+
git clone https://github.com/wjakob/nanobind.git /tmp/nanobind-src
30+
cd /tmp/nanobind-src
31+
git submodule update --init --recursive
32+
cmake -D NB_TEST=off .
33+
python3 -m pip install .
34+
rm -rf /tmp/nanobind-src
35+
2736
- name: Install FEniCS Python components
2837
run: |
2938
python3 -m pip install git+https://github.com/FEniCS/ufl.git

0 commit comments

Comments
 (0)