-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build wheels with
cibuildwheel
(#31)
* Run cibuildwheel in the build environments * Refactor build environment setup into its own action * Name custom action correctly * Specify a shell for each command * Move cibuildwheel into its own workflow * Run pytest after building wheels * Don't build wheels when testing. * Rename the test CI workflow
- Loading branch information
1 parent
cf73337
commit fbd80d4
Showing
3 changed files
with
62 additions
and
57 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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Setup build environment | ||
description: "Install ninja and a fortran compiler" | ||
|
||
# It's assumed that `actions/setup-python` is run before this one. | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- uses: awvwgk/setup-fortran@v1 | ||
|
||
- run: pip install --upgrade pip | ||
shell: bash | ||
|
||
- if: runner.os == 'Linux' | ||
run: sudo apt-get install -y ninja-build | ||
shell: bash | ||
|
||
- if: runner.os == 'macOS' | ||
run: brew install ninja | ||
shell: bash | ||
|
||
- if: runner.os == 'Windows' | ||
run: choco install ninja | ||
shell: bash |
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