Add OSX build variations to Azure CI
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Mon, 19 Apr 2021 20:27:08 +0000 (22:27 +0200)
committerGitHub <noreply@github.com>
Mon, 19 Apr 2021 20:27:08 +0000 (22:27 +0200)
azure-pipelines.yml

index fdf184b..68e4843 100644 (file)
@@ -74,7 +74,27 @@ jobs:
   steps:   
   - script: |
       brew update
-      make TARGET=CORE2 DYNAMIC_ARCH=1 USE_OPENMP=1 CC=gcc-10 FC=gfortran-10
-      
-      
-       
+      make TARGET=CORE2 DYNAMIC_ARCH=1 USE_OPENMP=1 INTERFACE64=1 CC=gcc-10 FC=gfortran-10
+     
+- job: OSX_GCC_Nothreads
+  pool:
+     vmImage: 'macOS-10.15'
+  steps:   
+  - script: |
+      brew update
+      make USE_THREADS=0 CC=gcc-10 FC=gfortran-10
+     
+- job: OSX_OpenMP_Clang
+  pool:
+     vmImage: 'macOS-10.15'
+  variables:
+     LD_LIBRARY_PATH: /usr/local/opt/llvm/lib
+     LIBRARY_PATH: /usr/local/opt/llvm/lib
+  steps:   
+  - script: |
+      brew update
+      brew install llvm libomp
+      brew tap LouisBrunner/valgrind
+      brew install --HEAD LouisBrunner/valgrind/valgrind
+      make TARGET=SANDYBRIDGE NO_AVX512=1 USE_OPENMP=1 INTERFACE64=1 DYNAMIC_ARCH=1 DYNAMIC_LIST=SANDYBRIDGE DEBUG=1 NO_PARALLEL_MAKE=1 CC=/usr/local/opt/llvm/bin/clang FC=gfortran-10
+      cd ctest; OMP_NUM_THREADS=1 valgrind ./xscblat2 <sin2