Skip to content

Commit

Permalink
Apply patch for openPMD#1684: PYBIND11_FINDPYTHON=ON
Browse files Browse the repository at this point in the history
  • Loading branch information
franzpoeschel committed Nov 12, 2024
1 parent 9e1c4d8 commit 6874639
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,17 +87,26 @@ jobs:
python -m pip install cibuildwheel==2.21.2
# Patch: Fix versioning
- name: Download Patch 1/1
- name: Download Patch 1/2
uses: suisei-cn/actions-download-file@818d6b7dc8fe73f2f924b6241f2b1134ca1377d9 # 1.6.0
id: setupversion
with:
url: "https://github.com/openPMD/openPMD-api/pull/1680.patch"
target: src/.patch/

# Patch: PYBIND11_FINDPYTHON=ON
- name: Download Patch 2/2
uses: suisei-cn/actions-download-file@818d6b7dc8fe73f2f924b6241f2b1134ca1377d9 # 1.6.0
id: setupversion
with:
url: "https://github.com/openPMD/openPMD-api/pull/1684.patch"
target: src/.patch/

- name: Apply Patches
run: |
cd src
git apply --exclude=.github/workflows/windows.yml .patch/1680.patch
git apply .patch/1684.patch
- name: Build wheel
env:
Expand Down

0 comments on commit 6874639

Please sign in to comment.