aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml12
1 files changed, 8 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2141c0a..03aa8f1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -20,19 +20,23 @@ stages:
script:
- meson --prefix=/ --cross-file "${TOOLCHAIN_FILE}" build
- ninja -C build
- - ninja -C test
+
+.test_template: &test_definition
+ <<: *build_definition
+ script:
+ - ninja -C build test
.universal_linux_template: &universal_linux_definition
image: ventosus/universal-linux-gnu
- <<: *build_definition
+ <<: *test_definition
.arm_linux_template: &arm_linux_definition
image: ventosus/arm-linux-gnueabihf
- <<: *build_definition
+ <<: *test_definition
.universal_w64_template: &universal_w64_definition
image: ventosus/universal-w64-mingw32
- <<: *build_definition
+ <<: *test_definition
.universal_apple_template: &universal_apple_definition
image: ventosus/universal-apple-darwin