Use the default key for gitab-ci config.

Gitlab now supports a `default` section on the build description,
which sets defaults which can be overridden by specific jobs.

This encapsulates things a little better and avoid duplicating
runner tags.
parent a4208e5f
Pipeline #1871 passed with stage
in 54 seconds
# Image from https://hub.docker.com/_/gcc/ based on Debian
image: gcc:9
default:
tags:
- docker
# Image from https://hub.docker.com/_/gcc/ based on Debian.
image: gcc:9
autoconf:
stage: build
......@@ -11,8 +14,6 @@ autoconf:
- ./configure
- make
- make distcheck
tags:
- docker
cmake:
stage: build
......@@ -23,5 +24,3 @@ cmake:
- mkdir build
- cmake -S . -B build -G "Ninja" -DCMAKE_BUILD_TYPE=Release
- cmake --build build
tags:
- docker
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