Commit 512cabe1 authored by Steffen Vogel's avatar Steffen Vogel 🎅🏼
Browse files

ci: enable builds for macOS

Former-commit-id: 5b3c8ca2
parent 76b6b289
......@@ -63,6 +63,26 @@ build:windows:
- build
key: build-win10
build:macos:
stage: build
script:
- mkdir -p build
- cd build
- cmake -DCMAKE_C_COMPILER=/usr/local/bin/gcc-9
-DCMAKE_CXX_COMPILER=/usr/local/bin/g++-9
-DWITH_CIM_SUBMODULE=ON
-DWITH_SUNDIALS=OFF ..
- make -j $(sysctl -n hw.ncpu)
cache:
paths:
- build
key: build-macos
artifacts:
paths:
- build
tags:
- mac
test:pytest:
stage: test
variables:
......@@ -85,8 +105,8 @@ test:pytest:
generate:docs:
stage: generate
script:
- make -C build docs
- make -C build docs_cxx
- make -j$(nproc) -C build docs
- make -j$(nproc) -C build docs_cxx
image: ${DOCKER_IMAGE_DEV}:${DOCKER_TAG_DEV}
dependencies:
- build:linux
......@@ -100,7 +120,7 @@ generate:docs:
generate:packages:
stage: generate
script:
- make -C build package
- make -j$(nproc) -C build package
only:
- tags
tags:
......
Subproject commit 173c1f5d2ecb45345e85857ac09fc5d6c6de8081
Subproject commit de31d104825e14cb4503488ae48ddfcbcf51d9ea
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment