CI changes
This commit is contained in:
parent
b21e2b0109
commit
167ad5437a
1 changed files with 20 additions and 12 deletions
|
|
@ -9,25 +9,18 @@ build_code:
|
||||||
stage: build
|
stage: build
|
||||||
image: "registry.gitlab.com/mergul/bubel-ecs:latest"
|
image: "registry.gitlab.com/mergul/bubel-ecs:latest"
|
||||||
script:
|
script:
|
||||||
- mkdir build
|
|
||||||
- /bin/bash /compile_ecs.sh
|
- /bin/bash /compile_ecs.sh
|
||||||
- cp artifacts/* build/
|
|
||||||
- cp -r public build/
|
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: 1h
|
expire_in: 1h
|
||||||
paths:
|
paths:
|
||||||
- build
|
- binaries
|
||||||
rules:
|
|
||||||
- if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master"'
|
|
||||||
when: always
|
|
||||||
- when: always
|
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
|
|
||||||
test_dmd_debug:
|
test_dmd_debug:
|
||||||
stage: test
|
stage: test
|
||||||
image: frolvlad/alpine-glibc
|
image: frolvlad/alpine-glibc
|
||||||
script:
|
script:
|
||||||
- build/dmd_debug_unittest
|
- binaries/dmd_debug_unittest
|
||||||
artifacts:
|
artifacts:
|
||||||
reports:
|
reports:
|
||||||
junit: test_report.xml
|
junit: test_report.xml
|
||||||
|
|
@ -35,7 +28,7 @@ test_dmd:
|
||||||
stage: test
|
stage: test
|
||||||
image: frolvlad/alpine-glibc
|
image: frolvlad/alpine-glibc
|
||||||
script:
|
script:
|
||||||
- build/dmd_release_unittest
|
- binaries/dmd_release_unittest
|
||||||
artifacts:
|
artifacts:
|
||||||
reports:
|
reports:
|
||||||
junit: test_report.xml
|
junit: test_report.xml
|
||||||
|
|
@ -43,7 +36,7 @@ test_dmd_betterC:
|
||||||
stage: test
|
stage: test
|
||||||
image: frolvlad/alpine-glibc
|
image: frolvlad/alpine-glibc
|
||||||
script:
|
script:
|
||||||
- build/dmd_release_unittest_bc
|
- binaries/dmd_release_unittest_bc
|
||||||
artifacts:
|
artifacts:
|
||||||
reports:
|
reports:
|
||||||
junit: test_report.xml
|
junit: test_report.xml
|
||||||
|
|
@ -56,10 +49,25 @@ coverage_test_dmd:
|
||||||
- build_code
|
- build_code
|
||||||
script:
|
script:
|
||||||
- mkdir reports
|
- mkdir reports
|
||||||
- build/dmd_unittest_cov
|
- binaries/dmd_unittest_cov
|
||||||
after_script:
|
after_script:
|
||||||
- bash <(curl -s https://codecov.io/bash) -s reports -t 1a0c0169-a721-4085-8252-fed4755dcd8c
|
- bash <(curl -s https://codecov.io/bash) -s reports -t 1a0c0169-a721-4085-8252-fed4755dcd8c
|
||||||
|
|
||||||
|
build_wasm:
|
||||||
|
stage: build
|
||||||
|
image: "registry.gitlab.com/mergul/bubel-ecs:latest"
|
||||||
|
script:
|
||||||
|
- /bin/bash /compile_wasm.sh
|
||||||
|
- /bin/bash /gen_doc.sh
|
||||||
|
artifacts:
|
||||||
|
expire_in: 1h
|
||||||
|
paths:
|
||||||
|
- build
|
||||||
|
rules:
|
||||||
|
- if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master"'
|
||||||
|
when: always
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
emscripten:
|
emscripten:
|
||||||
stage: build_emscripten
|
stage: build_emscripten
|
||||||
image: "registry.gitlab.com/mergul/bubel-ecs/emscripten:latest"
|
image: "registry.gitlab.com/mergul/bubel-ecs/emscripten:latest"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue