Skip to content

Commit

Permalink
Use ci build wheel to build more wheels (#76)
Browse files Browse the repository at this point in the history
* Changed workflow to use joerick/cibuildwheel for building and testing

* Added non-native architectures on Linux

* Split up architectures for quicker runs

* Splitup built targets to more workers for faster overall built time

* Moved linting step to python-publish.yml

* Added local built artifacts to .gitignore

* Only emulate architectures on Linux if it isn't 'auto'

* Removed python-test.yml and renamed python-publish.yml to tests.yml

To get the coverage upload on linux to work properly there were some 'hacks' needed since the linux build and tests run inside docker.
Those hack are:
- temporary renaming kernprof.py so tests only use the installed one
- replacing the file paths inside the .coverage files, so they will be valid in the host environment (needed for coverage combine)
- copying the .coverage file to the wheel output directory, so they are available on the host

* Moved python-sdist-test.yml code to tests.yml

Since  the  sdist test is manly to ensure that all needed files are included in the sdist, IMHO it is enought to hest it with one python version, since the coplebility test is done by the wheel tests.

* Made deploy only run on tags

* Removed branch restrictions

* Added back 'test_version_agreement'

* Update cibuildwheel to 1.11.0

* Added dependabot config to to check github actions for updates
  • Loading branch information
s-weigand committed May 16, 2021
1 parent ccd1a5c commit 06af7ed
Show file tree
Hide file tree
Showing 9 changed files with 363 additions and 259 deletions.
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
day: "friday"
127 changes: 0 additions & 127 deletions .github/workflows/python-publish.yml

This file was deleted.

47 changes: 0 additions & 47 deletions .github/workflows/python-sdist-test.yml

This file was deleted.

77 changes: 0 additions & 77 deletions .github/workflows/python-test.yml

This file was deleted.

0 comments on commit 06af7ed

Please sign in to comment.