This commit is contained in:
Johannes Lenzen
2020-05-26 10:00:55 +02:00
parent 76b94bb894
commit f97c11cdb2
4 changed files with 106 additions and 60 deletions

View File

@@ -0,0 +1,20 @@
#----------- Job Informations:
# Type: Build+Test: {{BUILDTYPE}}
# OS: Mac
# Language: {{LANGUAGE}}
macos-{{LANGUAGE}}-{{BUILDTYPE}}:
stage: build
script: "CI/ci-mac-build.sh {{LANGUAGE}} {{BUILDTYPE}} ; CI/ci-mac-test.sh {{LANGUAGE}} {{BUILDTYPE}}"
tags:
- Apple
artifacts:
paths:
- build-{{BUILDTYPE}}-{{LANGUAGE}}/*.dmg
- build-{{BUILDTYPE}}-{{LANGUAGE}}/*.tar.gz
reports:
junit:
- build-{{BUILDTYPE}}-{{LANGUAGE}}/Unittests/report.xml
- build-{{BUILDTYPE}}-{{LANGUAGE}}/Unittests/report-customvec.xml
- build-{{BUILDTYPE}}-{{LANGUAGE}}/Unittests/report-doublevec.xml

View File

@@ -1,35 +1,10 @@
# -----------------
# Apple tasks
# MAC tasks
# -----------------
macos-cpp11-debug:
stage: build
script: "CI/ci-mac-build.sh C++11 debug ; CI/ci-mac-test.sh C++11 debug"
tags:
- Apple
{mac-template-job.yml, BUILDTYPE=debug, LANGUAGE=cpp11}
{mac-template-job.yml, BUILDTYPE=release, LANGUAGE=cpp11}
macos-cpp14-debug:
stage: build
script: "CI/ci-mac-build.sh C++14 debug ; CI/ci-mac-test.sh C++14 debug"
tags:
- Apple
{mac-template-job.yml, BUILDTYPE=debug, LANGUAGE=cpp14}
{mac-template-job.yml, BUILDTYPE=release, LANGUAGE=cpp14}
macos-cpp11-release:
stage: build
script: "CI/ci-mac-build.sh C++11 release ; CI/ci-mac-test.sh C++11 release"
tags:
- Apple
artifacts:
paths:
- build-release-cpp11/*.dmg
- build-release-cpp11/*.tar.gz
macos-cpp14-release:
stage: build
script: "CI/ci-mac-build.sh C++14 release ; CI/ci-mac-test.sh C++14 release"
tags:
- Apple
artifacts:
paths:
- build-release-cpp14/*.dmg
- build-release-cpp14/*.tar.gz