README.md: Update examples.

parent 0eb8f4db
...@@ -29,17 +29,19 @@ before_script: ...@@ -29,17 +29,19 @@ before_script:
To build with several images: To build with several images:
``` ```
--- ---
dune:2.3--gcc: dune:2.4--gcc:
image: duneci/dune:2.3 image: duneci/dune:2.4
script: script:
- configure - dunecontrol --current all
- build - dunecontrol --current make build_tests
- cd build-cmake; duneci-ctest
dune:2.3--clang: dune:2.4--clang:
image: duneci/dune:2.3 image: duneci/dune:2.4
script: script:
- configure CXX=/usr/bin/clang++ - dunecontrol --current --opts=/duneci/opts.clang all
- build - dunecontrol --current make build_tests
- cd build-cmake; duneci-ctest
``` ```
You can also specify a default image and use it in several jobs: You can also specify a default image and use it in several jobs:
...@@ -50,13 +52,15 @@ image: duneci/dune:2.4 ...@@ -50,13 +52,15 @@ image: duneci/dune:2.4
dune:2.4--gcc: dune:2.4--gcc:
script: script:
- configure - dunecontrol --current all
- build - dunecontrol --current make build_tests
- cd build-cmake; duneci-ctest
dune:2.4--clang: dune:2.4--clang:
script: script:
- configure CXX=/usr/bin/clang++ - dunecontrol --current --opts=/duneci/opts.clang all
- build - dunecontrol --current make build_tests
- cd build-cmake; duneci-ctest
``` ```
Updating gitlab-runner Updating gitlab-runner
......
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