-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
93202bf
commit fdd2209
Showing
2 changed files
with
2 additions
and
20 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 |
---|---|---|
|
@@ -2,15 +2,6 @@ name: build-and-test | |
run-name: ${{ github.actor }} is building "${{ github.ref_name }}" | ||
on: [push] | ||
|
||
env: | ||
CIBW_ARCHS_LINUX: auto | ||
CIBW_ARCHS_MACOS: x86_64 universal2 | ||
CIBW_SKIP: pp* cp27-* *_i686 *-win32 *musllinux* | ||
# Fails currently | ||
CIBW_TEST_COMMAND: # python ${{ github.workspace }}/nl-writer2/nlwpy/tests/test.py | ||
CIBW_TEST_REQUIRES: # scipy numpy | ||
# CIBW_TEST_REQUIRES: --index-url https://pypi.ampl.com --extra-index-url https://pypi.org/simple ampl_module_base ampl_module_highs pandas numpy | ||
|
||
jobs: | ||
build_native: | ||
name: Build wheels on ${{ matrix.os }} | ||
|
@@ -26,12 +17,6 @@ jobs: | |
uses: pypa/[email protected] | ||
with: | ||
package-dir: nl-writer2/ | ||
env: | ||
CIBW_ARCHS_LINUX: ${{ env.CIBW_ARCHS_LINUX }} | ||
CIBW_ARCHS_MACOS: ${{ env.CIBW_ARCHS_MACOS }} | ||
CIBW_SKIP: ${{ env.CIBW_SKIP }} | ||
CIBW_TEST_COMMAND: ${{ env.CIBW_TEST_COMMAND }} | ||
CIBW_TEST_REQUIRES: ${{ env.CIBW_TEST_REQUIRES }} | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
|
@@ -43,7 +28,7 @@ jobs: | |
#needs: build_native | ||
strategy: | ||
matrix: | ||
arch: [aarch64, ppc64le] | ||
arch: [aarch64] | ||
build: [cp37-*, cp38-*, cp39-*, cp310-*, cp311-*, cp312-*] | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
|
@@ -60,11 +45,7 @@ jobs: | |
package-dir: nl-writer2/ | ||
env: | ||
CIBW_ARCHS_LINUX: ${{ matrix.arch }} | ||
CIBW_ARCHS_MACOS: ${{ env.CIBW_ARCHS_MACOS }} | ||
CIBW_BUILD: ${{ matrix.build }} | ||
CIBW_SKIP: ${{ env.CIBW_SKIP }} | ||
CIBW_TEST_COMMAND: ${{ env.CIBW_TEST_COMMAND }} | ||
CIBW_TEST_REQUIRES: ${{ env.CIBW_TEST_REQUIRES }} | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
|
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