Skip to content
Snippets Groups Projects
Verified Commit ea1cfa09 authored by Lars Bilke's avatar Lars Bilke
Browse files

[ci] Use matrix syntax on win job.

parent 99af4318
No related branches found
No related tags found
No related merge requests found
build win:
extends: .template-build-win
rules:
- if: '$USE_PYTHON =~ /ON$/'
- if: '$CI_COMMIT_BRANCH == "master"'
- when: manual
allow_failure: true
variables:
BUILD_DIR: build-win
CMAKE_ARGS: >-
-DOGS_BUILD_UTILS=ON
-DOGS_CI_TESTRUNNER_REPEAT=1
-DOGS_USE_PYTHON=ON
-DOGS_$USE_PYTHON
-DOGS_USE_CONAN=AUTO
build win no python:
extends: .template-build-win
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
- when: manual
allow_failure: true
variables:
BUILD_DIR: build-win-nopython
BUILD_TESTS: "false"
BUILD_CTEST: "false"
CMAKE_ARGS: " "
parallel:
matrix:
- USE_PYTHON: ["USE_PYTHON=ON", "USE_PYTHON=OFF"]
......@@ -5,7 +5,7 @@ compiler warnings:
allow_failure: true
needs:
- job: build linux
- job: build win
- job: "build win: [USE_PYTHON=ON]"
- job: build mac
script:
- exit_code=0
......
......@@ -21,13 +21,13 @@ icon = "fab fa-windows"
[[head_downloads]]
name = "Latest Windows CLI with Utilities (without Python bindings)"
url = "https://gitlab.opengeosys.org/ogs/ogs/-/jobs/artifacts/master/browse/build-win-nopython?job=build+win+no+python"
url = "https://gitlab.opengeosys.org/ogs/ogs/-/jobs/artifacts/master/browse/build-win?job=build+win+no+python"
note = "Download and unpack .zip-file"
icon = "fab fa-windows"
[[head_downloads]]
name = "Latest Windows Data Explorer with Utilities (without Python bindings)"
url = "https://gitlab.opengeosys.org/ogs/ogs/-/jobs/artifacts/master/browse/build-gui-win-nopython?job=build+gui+win+no+python"
url = "https://gitlab.opengeosys.org/ogs/ogs/-/jobs/artifacts/master/browse/build-gui-win?job=build+gui+win+no+python"
note = "Download and unpack .zip-file"
icon = "fab fa-windows"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment