aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml78
1 files changed, 25 insertions, 53 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2cd8605..580665c 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:
@@ -32,8 +26,7 @@ test:arm32_dbg:
<<: *test_definition
image: lv2plugin/debian-arm32
script: python ./waf test --wrapper=qemu-arm
- dependencies:
- - arm32_dbg
+ dependencies: [arm32_dbg]
arm32_rel:
@@ -48,8 +41,7 @@ test:arm32_rel:
<<: *test_definition
image: lv2plugin/debian-arm32
script: python ./waf test --wrapper=qemu-arm
- dependencies:
- - arm32_rel
+ dependencies: [arm32_rel]
arm64_dbg:
@@ -64,8 +56,7 @@ test:arm64_dbg:
<<: *test_definition
image: lv2plugin/debian-arm64
script: python ./waf test --wrapper=qemu-aarch64
- dependencies:
- - arm64_dbg
+ dependencies: [arm64_dbg]
arm64_rel:
@@ -80,8 +71,7 @@ test:arm64_rel:
<<: *test_definition
image: lv2plugin/debian-arm64
script: python ./waf test --wrapper=qemu-aarch64
- dependencies:
- - arm64_rel
+ dependencies: [arm64_rel]
x64_dbg:
@@ -93,8 +83,7 @@ test:x64_dbg:
<<: *test_definition
image: lv2plugin/debian-x64
script: python ./waf test
- dependencies:
- - x64_dbg
+ dependencies: [x64_dbg]
x64_rel:
@@ -106,79 +95,62 @@ test:x64_rel:
<<: *test_definition
image: lv2plugin/debian-x64
script: python ./waf test
- dependencies:
- - x64_rel
+ dependencies: [x64_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
- dependencies:
- - mac_dbg
- tags:
- - macos
+ dependencies: [mac_dbg]
+ 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
- dependencies:
- - mac_rel
- tags:
- - macos
+ dependencies: [mac_rel]
+ 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
- dependencies:
- - win_dbg
- tags:
- - windows
+ dependencies: [win_dbg]
+ tags: [windows]
win_rel:
<<: *build_definition
script: python ./waf configure build -T --no-coverage
- tags:
- - windows
+ tags: [windows]
test:win_rel:
<<: *test_definition
script: python ./waf test
- dependencies:
- - win_rel
- tags:
- - windows
+ dependencies: [win_rel]
+ tags: [windows]
pages:
stage: deploy
script: mv build/coverage/ public/
- dependencies:
- - test:x64_dbg
+ dependencies: [test:x64_dbg]
artifacts:
expire_in: 30 days
- paths:
- - public
- only:
- - master
+ paths: [public]
+ only: [master]