Skip to content
Snippets Groups Projects
Commit d1294b74 authored by Dennis Gläser's avatar Dennis Gläser Committed by Timo Koch
Browse files

[ci][default] allow setting max_cxx_standard

parent 6b6b21e5
No related branches found
No related tags found
1 merge request!3172[ci][default] allow setting max_cxx_standard and add C++20 pipeline
...@@ -21,13 +21,17 @@ workflow: ...@@ -21,13 +21,17 @@ workflow:
variables: variables:
MR_TARGET_BRANCH_NAME: "" MR_TARGET_BRANCH_NAME: ""
REFERENCE_SHA: "" REFERENCE_SHA: ""
CXX_MAX_STANDARD: "17"
configure: configure:
stage: configure stage: configure
script: script:
- dunecontrol --opts=$DUNE_OPTS_FILE --current configure - |
- dunecontrol --opts=$DUNE_OPTS_FILE --current make -j8 echo "source ${DUNE_OPTS_FILE}" > opts_file.opts
echo "CMAKE_FLAGS=\"\${CMAKE_FLAGS} -DCXX_MAX_STANDARD=${CXX_MAX_STANDARD}\"" >> opts_file.opts
- dunecontrol --opts=opts_file.opts --current configure
- dunecontrol --opts=opts_file.opts --current make -j8
# cache state of the Dune virtual env for Python if it exists (Dune 2.9) # cache state of the Dune virtual env for Python if it exists (Dune 2.9)
- | - |
if [ -d "/dune/modules/dune-common/build-cmake/dune-env" ]; then if [ -d "/dune/modules/dune-common/build-cmake/dune-env" ]; then
......
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