1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-10-06 09:17:07 +02:00
This commit is contained in:
Elias Steurer 2022-08-14 12:02:55 +02:00
parent ff371eeba5
commit a59c2f170a

View File

@ -1,6 +1,5 @@
stages: stages:
- build_steam - build
- build_standalone
- check - check
variables: variables:
@ -8,7 +7,7 @@ variables:
QT_VERSION: 6.3.1 QT_VERSION: 6.3.1
PYTHON_VERSION: 3.10.1 PYTHON_VERSION: 3.10.1
build_standalone:windows: standalone:windows:
stage: build stage: build
tags: tags:
- windows10 - windows10
@ -21,12 +20,12 @@ build_standalone:windows:
- python setup.py - python setup.py
- python build.py -type release -use-aqt -installer -deploy - python build.py -type release -use-aqt -installer -deploy
artifacts: artifacts:
expire_in: "never" expire_in: "2 weeks"
paths: paths:
- build-x64-windows-release/bin/ - build-x64-windows-release/bin/
- build-x64-windows-release/ScreenPlay-Installer.exe - build-x64-windows-release/ScreenPlay-Installer.exe
build_standalone:osx: standalone:osx:
stage: build stage: build
tags: tags:
- osx - osx
@ -41,11 +40,11 @@ build_standalone:osx:
- python3 build.py -type release -use-aqt -deploy -architecture arm64 - python3 build.py -type release -use-aqt -deploy -architecture arm64
- python3 macos_lipo.py - python3 macos_lipo.py
artifacts: artifacts:
expire_in: "never" expire_in: "2 weeks"
paths: paths:
- build-universal-osx-release/bin/ - build-universal-osx-release/bin/
build_steam:windows: steam:windows:
stage: build stage: build
tags: tags:
- windows10 - windows10
@ -58,11 +57,11 @@ build_steam:windows:
- python setup.py - python setup.py
- python build.py -type release -steam -use-aqt -deploy - python build.py -type release -steam -use-aqt -deploy
artifacts: artifacts:
expire_in: "never" expire_in: "2 weeks"
paths: paths:
- build-x64-windows-release/bin/ - build-x64-windows-release/bin/
build_steam:osx: steam:osx:
stage: build stage: build
tags: tags:
- osx - osx
@ -77,11 +76,11 @@ build_steam:osx:
- python3 build.py -type release -steam -use-aqt -deploy -architecture arm64 - python3 build.py -type release -steam -use-aqt -deploy -architecture arm64
- python3 macos_lipo.py - python3 macos_lipo.py
artifacts: artifacts:
expire_in: "4 weeks" expire_in: "2 weeks"
paths: paths:
- build-universal-osx-release/bin/ - build-universal-osx-release/bin/
check: formatting:
stage: check stage: check
allow_failure: true allow_failure: true
image: image:
@ -98,7 +97,7 @@ check:
- python clang_format.py - python clang_format.py
- python cmake_format.py - python cmake_format.py
build_docs: documentation:
stage: .post stage: .post
script: script:
- curl --request POST --form "token=$CI_JOB_TOKEN" --form ref=master https://gitlab.com/api/v4/projects/15800262/trigger/pipeline - curl --request POST --form "token=$CI_JOB_TOKEN" --form ref=master https://gitlab.com/api/v4/projects/15800262/trigger/pipeline