Verified Commit 7d371216 authored by Lars Bilke's avatar Lars Bilke

[ci] Win artifacts.

parent 7d940296
......@@ -9,14 +9,19 @@
variables:
script:
- mkdir -p $BUILD_DIR
- cd $BUILD_DIR
- mkdir -p $env:BUILD_DIR
- cd $env:BUILD_DIR
- >
cmake .. -G Ninja
$env:CMAKE_ARGS.Split(" ")
-DCMAKE_BUILD_TYPE="$env:BUILD_TYPE"
-DOGS_BUILD_PROCESSES="$env:BUILD_PROCESSES"
- cmake --build . | Tee-Object -FilePath make.output
- cmake --build . --target package | Tee-Object -FilePath make.output
- cmake --build . --target tests
- cmake --build . --target ctest
- cp Testing/**/Test.xml Tests/ctest.xml
artifacts:
name: "$env:CI_JOB_NAME"
paths:
- $env:BUILD_DIR/*.zip
build gui linux:
extends: .template-build-linux
stage: gui
image:
name: $CONTAINER_GCC_GUI_IMAGE
tags:
- envinf1
- docker
......@@ -14,7 +16,6 @@ build gui linux:
- Applications/DataExplorer/**/*
- when: manual
allow_failure: true
variables:
BUILD_DIR: "build-gui-linux"
CMAKE_ARGS: >-
......@@ -22,10 +23,6 @@ build gui linux:
-DOGS_BUILD_GUI=ON
-DOGS_BUILD_UTILS=ON
-DOGS_USE_NETCDF=ON
image:
name: $CONTAINER_GCC_GUI_IMAGE
cache:
paths:
- $CCACHE_DIR
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