Skip to content

Commit

Permalink
CI: native M1 testing
Browse files Browse the repository at this point in the history
* add native M1 MacOS testing to CI
with Cirrus CI:
https://cirrus-ci.org/guide/macOS/#macos-virtual-machines

* there is no concurrency so just a single
job/Python version for now
  • Loading branch information
tylerjereddy committed Aug 20, 2022
1 parent 6302b4c commit 4192bd3
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
macos_instance:
image: ghcr.io/cirruslabs/macos-monterey-base:latest

task:
script: |
brew install [email protected]
/opt/homebrew/opt/[email protected]/bin/python3 -m venv ~/py_310
source ~/py_310/bin/activate
cd package
python -m pip install .
cd ../testsuite
python -m pip install .
python -m pip install pytest
python -m pytest MDAnalysisTests

0 comments on commit 4192bd3

Please sign in to comment.