-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
explitly invoke cibuildwheel with PATHs set
- Loading branch information
Showing
4 changed files
with
30 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
name: CD | ||
|
||
on: [push, workflow_dispatch] | ||
#on: [push, workflow_dispatch] | ||
|
||
env: | ||
REGISTRY: ghcr.io | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
name: Wheels | ||
name: "Wheels" | ||
|
||
on: | ||
workflow_dispatch: | ||
# pull_request: | ||
# push: | ||
# branches: | ||
# - master | ||
# release: | ||
# types: | ||
# - published | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
release: | ||
types: | ||
- published | ||
|
||
env: | ||
FORCE_COLOR: 3 | ||
|
@@ -123,30 +123,40 @@ jobs: | |
dpkg -s libboost-all-dev | ||
dpkg -s libhdf5-dev | ||
# Used to host cibuildwheel | ||
- uses: actions/setup-python@v5 | ||
|
||
- name: Install cibuildwheel | ||
run: python -m pip install cibuildwheel==2.18.1 | ||
|
||
- name: build wheel on macos-13 | ||
if: matrix.os == 'macos-13' | ||
uses: pypa/[email protected] | ||
run: | | ||
export PATH="/usr/local/opt/llvm/bin:$PATH" | ||
python -m cibuildwheel --output-dir wheelhouse | ||
env: | ||
CIBW_ARCHS: native | ||
CIBW_ENVIRONMENT: PATH=/usr/local/opt/llvm/bin:$PATH | ||
|
||
- name: build wheel on macos-14 | ||
if: matrix.os == 'macos-14' | ||
uses: pypa/[email protected] | ||
run: | | ||
export PATH="/opt/homebrew/opt/llvm/bin:$PATH" | ||
python -m cibuildwheel --output-dir wheelhouse | ||
env: | ||
CIBW_ARCHS: native | ||
CIBW_ENVIRONMENT: PATH=/opt/homebrew/opt/llvm/bin:$PATH | ||
|
||
- name: build wheel on windows-latest | ||
if: matrix.os == 'windows-latest' | ||
uses: pypa/[email protected] | ||
shell: msys2 {0} | ||
run: | | ||
python -m cibuildwheel --output-dir wheelhouse | ||
env: | ||
CIBW_ARCHS: native | ||
|
||
- name: build wheel | ||
if: matrix.os == 'ubuntu-latest' | ||
uses: pypa/[email protected] | ||
run: | | ||
python -m cibuildwheel --output-dir wheelhouse | ||
env: | ||
CIBW_ARCHS: native | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters