Updated .gitlab-ci.yml:

- Release configuration will now be used for windows & linux builds
This commit is contained in:
Patrix
2022-10-28 01:34:24 +02:00
parent dc1f149552
commit f2df97c87f
2 changed files with 5 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ build:linux:
image: registry.gitlab.com/gothicmultiplayerteam/buildimage:ubuntu-18.04 image: registry.gitlab.com/gothicmultiplayerteam/buildimage:ubuntu-18.04
when: manual when: manual
script: script:
- cmake . -DCMAKE_TOOLCHAIN_FILE="$TOOLCHAIN.cmake" - cmake . -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE="$TOOLCHAIN.cmake"
- cmake --build . && exit $? - cmake --build . && exit $?
after_script: after_script:
- echo "${TOOLCHAIN}_JOB_ID=$CI_JOB_ID" | tr - _ >> job.env - echo "${TOOLCHAIN}_JOB_ID=$CI_JOB_ID" | tr - _ >> job.env
@@ -57,7 +57,7 @@ release:
- job: build:windows - job: build:windows
artifacts: true artifacts: true
variables: variables:
TAG: '0.1' TAG: '0.1.0.1'
script: script:
- echo "Create Release $TAG" - echo "Create Release $TAG"
release: release:

View File

@@ -0,0 +1,3 @@
## Changelog
- Release configuration will now be used for windows & linux builds