summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml18
1 files changed, 14 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f99ce6265..f102f667d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -150,7 +150,7 @@ variables:
tags:
- docker
-gcc-7:
+.gcc-7:
stage: prebuild
image: debian:buster
script:
@@ -170,6 +170,8 @@ gcc-7:
gcc-8:
stage: prebuild
+ only:
+ - master
image: debian:buster
script:
- ./tools/ci/scripts/patchsdl1.sh
@@ -186,7 +188,7 @@ gcc-8:
tags:
- docker
-gcc-7_default:
+.gcc-7_default:
stage: prebuild
image: debian:buster
script:
@@ -274,6 +276,8 @@ docker-windows-builder:
gcc-5_sdl2:
stage: prebuild
+ only:
+ - master
image: ubuntu:xenial
script:
- ./tools/ci/jobs/gcc5_sdl2.sh
@@ -291,7 +295,8 @@ gcc-5_sdl2:
tags:
- docker
-gcc-10_game_only:
+# TODO: make this only run once-in-a-while (e.g. before release?)
+.gcc-10_game_only:
stage: prebuild
image: debian:bullseye
script:
@@ -308,7 +313,8 @@ gcc-10_game_only:
tags:
- docker
-gcc-10_dyecmd_only:
+# TODO: make this only run once-in-a-while (e.g. before release?)
+.gcc-10_dyecmd_only:
stage: prebuild
image: debian:bullseye
script:
@@ -326,6 +332,8 @@ gcc-10_dyecmd_only:
gcc-8_unittestsbin:
stage: prebuild
+ only:
+ - master
image: debian:buster
script:
- ./tools/ci/scripts/patchsdl1.sh
@@ -359,6 +367,8 @@ linters:
gcc-5_h_all:
stage: prebuild
+ only:
+ - master
image: ubuntu:xenial
script:
- ./tools/ci/scripts/patchsdl1.sh