aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-10-19 21:42:32 +0200
committerDavid Robillard <d@drobilla.net>2019-10-19 21:55:05 +0200
commitbd5a0da3813517bf83fb26dbfd102a2cb879a14d (patch)
tree7e6b4a4c5e7a6c5147da9cda032dea9d3c82cff1
parent3f74acb3fe1f679ed00288b0c08bd4de4ad4378f (diff)
downloadserd-bd5a0da3813517bf83fb26dbfd102a2cb879a14d.tar.gz
serd-bd5a0da3813517bf83fb26dbfd102a2cb879a14d.tar.bz2
serd-bd5a0da3813517bf83fb26dbfd102a2cb879a14d.zip
Use terser list syntax in CI configuration
-rw-r--r--.gitlab-ci.yml40
1 files changed, 12 insertions, 28 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b9457238..27fcb76f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,7 +1,4 @@
-stages:
- - build
- - test
- - deploy
+stages: [build, test, deploy]
variables:
GIT_SUBMODULE_STRATEGY: normal
@@ -9,15 +6,12 @@ variables:
.build_template: &build_definition
stage: build
artifacts:
- paths:
- - build/
- - .lock-waf*
+ paths: ["build/", ".lock-waf*"]
.test_template: &test_definition
stage: test
artifacts:
- paths:
- - build/coverage
+ paths: [build/coverage]
arm32_dbg:
@@ -94,9 +88,7 @@ test:x64_dbg:
- groff -Thtml -P -l -P -r -man -wall doc/serdi.1 > build/doc/serdi.html
needs: ["x64_dbg"]
artifacts:
- paths:
- - build/coverage
- - build/doc
+ paths: ["build/coverage", "build/doc"]
x64_rel:
@@ -160,44 +152,37 @@ mingw64_rel:
mac_dbg:
<<: *build_definition
script: python ./waf configure build -dsT --no-coverage
- tags:
- - macos
+ tags: [macos]
test:mac_dbg:
<<: *test_definition
script: python ./waf test
needs: ["mac_dbg"]
- tags:
- - macos
+ tags: [macos]
mac_rel:
<<: *build_definition
script: python ./waf configure build -sT --no-coverage
- tags:
- - macos
+ tags: [macos]
test:mac_rel:
<<: *test_definition
script: python ./waf test
needs: ["mac_rel"]
- tags:
- - macos
+ tags: [macos]
win_dbg:
<<: *build_definition
- script:
- - python ./waf configure build -dT --no-coverage
- tags:
- - windows
+ script: python ./waf configure build -dT --no-coverage
+ tags: [windows]
test:win_dbg:
<<: *test_definition
script: python ./waf test
needs: ["win_dbg"]
- tags:
- - windows
+ tags: [windows]
win_rel:
@@ -210,8 +195,7 @@ test:win_rel:
<<: *test_definition
script: python ./waf test
needs: ["win_rel"]
- tags:
- - windows
+ tags: [windows]
pages: