Merge pull request #3990 from martin-frbg/cirrus

Add Apple M1 testing via Cirrus CI
This commit is contained in:
Zhang Xianyi 2023-04-03 16:54:40 +08:00 committed by GitHub
commit ab0755590f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

10
cirrus.yml Normal file
View File

@ -0,0 +1,10 @@
macos_instance:
image: ghcr.io/cirruslabs/macos-monterey-xcode:latest
task:
compile_script:
- brew install llvm
- export PATH=/opt/homebrew/opt/llvm/bin:$PATH
- export LDFLAGS="-L/opt/homebrew/opt/llvm/lib"
- export CPPFLAGS="-I/opt/homebrew/opt/llvm/include"
- make TARGET=VORTEX USE_OPENMP=1 CC=clang