.build_template: &macos_build_definition
stage: build
+ needs: [] # FIXME: remove when building from portable source
script:
- brew update
- brew install autogen || brew upgrade autogen
macos-autotools-build:
<<: *macos_build_definition
- needs:
- - job: portable-source
- artifacts: true
before_script:
- export build_system="autotools"
tags:
macos-cmake-build:
<<: *macos_build_definition
- needs:
- - job: portable-source
- artifacts: true
before_script:
- export build_system="cmake"
# fail on any compiler warnings
- python3 -m pip install --requirement requirements.txt
- export build_system="autotools"
needs:
- - job: portable-source
- artifacts: true
- job: "macos-autotools-build"
artifacts: true
tags:
- python3 -m pip install --requirement requirements.txt
- export build_system="cmake"
needs:
- - job: portable-source
- artifacts: true
- job: "macos-cmake-build"
artifacts: true
tags: