Add Apple M1 testing via Cirrus CI

This commit is contained in:
Martin Kroeker 2023-04-03 10:51:38 +02:00 committed by GitHub
parent 516f22b8ca
commit 65b7bf9f3e
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