-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Start CI migration to github actions
- Loading branch information
1 parent
e23454b
commit 6bf8ac5
Showing
5 changed files
with
62 additions
and
5 deletions.
There are no files selected for viewing
File renamed without changes.
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,56 @@ | ||
name: Build and test, upload to PyPI on release | ||
|
||
on: [push, pull_request] | ||
env: | ||
CIBW_TEST_COMMAND: "cd {project} && python -m pytest tests" | ||
CIBW_TEST_EXTRAS: "test" | ||
CIBW_SKIP: "*musllinux*" | ||
CIBW_MANYLINUX_X86_64_IMAGE: "manylinux2014" | ||
CIBW_MANYLINUX_I686_IMAGE: "manylinux2014" | ||
CIBW_MANYLINUX_PYPY_X86_64_IMAGE: "manylinux2014" | ||
CIBW_MANYLINUX_PYPY_I686_IMAGE: "manylinux2014" | ||
|
||
jobs: | ||
build_linux: | ||
name: Build on Linux (${{ matrix.wheel_arch }}) | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
fail-fast: false | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: actions/setup-python@v2 | ||
name: Install Python | ||
with: | ||
python-version: '3.9' | ||
|
||
- name: Install deps | ||
run: .install_deps.sh | ||
|
||
- name: Build | ||
run: .install.sh | ||
|
||
- name: Test | ||
run: .test.sh | ||
|
||
build_macos: | ||
name: Build wheels on macOS (${{ matrix.wheel_arch }}) | ||
runs-on: macos-10.15 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: actions/setup-python@v2 | ||
name: Install Python | ||
with: | ||
python-version: '3.9' | ||
|
||
- name: Install deps | ||
run: .install_deps.sh | ||
|
||
- name: Build | ||
run: .install.sh | ||
|
||
- name: Test | ||
run: .test.sh |
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
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