-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Add Cirrus CI config for aarch64 build tests (#168)
* Add Cirrus CI config for aarch64 wheel tests. - The jobs take a large amount of memory and so modification of the default resources is needed. * Exclude .cirrus.yml from MANIFEST.in. * Remove GitHub Actions QUEM based aarch64 test. As the Cirrus CI takes minutes instead of over an hour there is now not a need for this test to run in GitHub Actions. * Add Cirrus CI build status badge for the main branch to README.
- Loading branch information
1 parent
ee92a44
commit 2d48e4b
Showing
4 changed files
with
49 additions
and
46 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,44 @@ | ||
task: | ||
only_if: $CIRRUS_BRANCH == 'main' || $CIRRUS_BRANCH == 'develop' || $CIRRUS_TAG != '' || $CIRRUS_PR != '' | ||
env: | ||
CIRRUS_CLONE_SUBMODULES: true | ||
|
||
matrix: | ||
- name: Test build | ||
|
||
# Default is 2 CPUs and 4 GB of memory | ||
arm_container: | ||
cpu: 4 | ||
memory: 6G | ||
matrix: | ||
- image: python:3.7 | ||
- image: python:3.11 | ||
|
||
install_build_dependencies_script: | | ||
apt-get update | ||
apt-get -qq -y install --no-install-recommends \ | ||
gcc \ | ||
g++ \ | ||
libboost-dev \ | ||
libmpfr-dev \ | ||
libgmp-dev \ | ||
swig \ | ||
autoconf \ | ||
libtool \ | ||
patch \ | ||
automake | ||
create_venv_script: | | ||
python -m venv ../venv | ||
install_script: | | ||
. ../venv/bin/activate | ||
python -m pip install --upgrade pip setuptools wheel | ||
python -m pip install --verbose . | ||
python -m pip list | ||
pytest_script: | | ||
. ../venv/bin/activate | ||
python -m pip install --upgrade pytest | ||
python -m pip list | ||
pytest -vv -rs -Wd |
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