2018-11-08 21:08:33 +01:00
|
|
|
stages:
|
2022-08-14 12:02:55 +02:00
|
|
|
- build
|
2022-10-15 12:05:37 +02:00
|
|
|
- sign
|
2022-04-24 16:38:12 +02:00
|
|
|
- check
|
2018-11-08 21:08:33 +01:00
|
|
|
|
2022-10-10 11:35:41 +02:00
|
|
|
.base_windows_build:
|
|
|
|
before_script:
|
|
|
|
- python -m pip install -U pip wheel
|
|
|
|
- python -m pip install -r Tools/requirements.txt
|
|
|
|
- python Tools/setup.py
|
|
|
|
|
|
|
|
.base_unix_build:
|
|
|
|
before_script:
|
|
|
|
- pip3 install -U pip
|
|
|
|
- pip3 install -r Tools/requirements.txt
|
|
|
|
- python3 Tools/setup.py
|
2022-01-04 10:12:03 +01:00
|
|
|
|
2022-10-15 12:05:37 +02:00
|
|
|
standalone_windows:
|
2018-11-08 21:08:33 +01:00
|
|
|
stage: build
|
2022-10-10 11:35:41 +02:00
|
|
|
extends:
|
|
|
|
- .base_windows_build
|
2018-11-08 21:08:33 +01:00
|
|
|
tags:
|
2020-10-29 18:19:22 +01:00
|
|
|
- windows10
|
|
|
|
script:
|
2022-10-10 11:35:41 +02:00
|
|
|
- python Tools/build.py -type release -use-aqt -installer -deploy-version
|
2020-10-29 18:19:22 +01:00
|
|
|
artifacts:
|
2022-08-14 12:02:55 +02:00
|
|
|
expire_in: "2 weeks"
|
2020-08-10 17:42:49 +02:00
|
|
|
paths:
|
2021-09-26 17:02:25 +02:00
|
|
|
- build-x64-windows-release/bin/
|
2022-07-22 14:29:57 +02:00
|
|
|
- build-x64-windows-release/ScreenPlay-Installer.exe
|
2020-10-29 18:19:22 +01:00
|
|
|
|
2022-10-15 12:05:37 +02:00
|
|
|
standalone_osx:
|
2020-10-31 19:30:27 +01:00
|
|
|
stage: build
|
2022-10-10 11:35:41 +02:00
|
|
|
extends:
|
|
|
|
- .base_unix_build
|
2020-10-31 19:30:27 +01:00
|
|
|
tags:
|
|
|
|
- osx
|
|
|
|
script:
|
2022-10-10 11:35:41 +02:00
|
|
|
- python3 Tools/build.py -type release -use-aqt -deploy-version -architecture x64
|
|
|
|
- python3 Tools/build.py -type release -use-aqt -deploy-version -architecture arm64
|
|
|
|
- python3 Tools/macos_lipo.py
|
2022-02-03 17:30:59 +01:00
|
|
|
artifacts:
|
2022-08-14 12:02:55 +02:00
|
|
|
expire_in: "2 weeks"
|
2022-02-03 17:30:59 +01:00
|
|
|
paths:
|
2022-08-14 11:58:41 +02:00
|
|
|
- build-universal-osx-release/bin/
|
2022-02-03 17:30:59 +01:00
|
|
|
|
2022-10-15 12:05:37 +02:00
|
|
|
steam_windows:
|
2022-02-03 17:30:59 +01:00
|
|
|
stage: build
|
2022-10-10 11:35:41 +02:00
|
|
|
extends:
|
|
|
|
- .base_windows_build
|
2022-02-03 17:30:59 +01:00
|
|
|
tags:
|
|
|
|
- windows10
|
|
|
|
script:
|
2022-10-10 11:35:41 +02:00
|
|
|
- python Tools/build.py -type release -steam -use-aqt -deploy-version
|
2022-02-03 17:30:59 +01:00
|
|
|
artifacts:
|
2022-08-14 12:02:55 +02:00
|
|
|
expire_in: "2 weeks"
|
2022-02-03 17:30:59 +01:00
|
|
|
paths:
|
|
|
|
- build-x64-windows-release/bin/
|
|
|
|
|
2022-10-15 12:05:37 +02:00
|
|
|
steam_osx:
|
2022-02-03 17:30:59 +01:00
|
|
|
stage: build
|
2022-10-10 11:35:41 +02:00
|
|
|
extends:
|
|
|
|
- .base_unix_build
|
2022-02-03 17:30:59 +01:00
|
|
|
tags:
|
|
|
|
- osx
|
|
|
|
script:
|
2022-10-10 11:35:41 +02:00
|
|
|
- python3 Tools/build.py -type release -steam -use-aqt -deploy-version -architecture x64
|
|
|
|
- python3 Tools/build.py -type release -steam -use-aqt -deploy-version -architecture arm64
|
|
|
|
- python3 Tools/macos_lipo.py
|
2022-02-03 17:30:59 +01:00
|
|
|
artifacts:
|
2022-08-14 12:02:55 +02:00
|
|
|
expire_in: "2 weeks"
|
2022-02-03 17:30:59 +01:00
|
|
|
paths:
|
2022-08-14 11:58:41 +02:00
|
|
|
- build-universal-osx-release/bin/
|
2022-02-03 17:30:59 +01:00
|
|
|
|
2022-10-15 12:05:37 +02:00
|
|
|
sign_osx:
|
|
|
|
stage: sign
|
|
|
|
needs: ["standalone_osx"]
|
|
|
|
only:
|
|
|
|
- release
|
|
|
|
tags:
|
|
|
|
- osx
|
|
|
|
script:
|
|
|
|
- python3 Tools/macos_sign.py
|
|
|
|
artifacts:
|
|
|
|
expire_in: "2 weeks"
|
|
|
|
paths:
|
|
|
|
- build-universal-osx-release/bin/
|
|
|
|
|
|
|
|
sign_osx_steam:
|
|
|
|
stage: sign
|
|
|
|
needs: ["steam_osx"]
|
|
|
|
only:
|
|
|
|
- release
|
|
|
|
tags:
|
|
|
|
- osx
|
|
|
|
script:
|
|
|
|
- python3 Tools/macos_sign.py
|
|
|
|
artifacts:
|
|
|
|
expire_in: "2 weeks"
|
|
|
|
paths:
|
|
|
|
- build-universal-osx-release/bin/
|
|
|
|
|
2022-08-14 12:02:55 +02:00
|
|
|
formatting:
|
2022-08-14 11:58:41 +02:00
|
|
|
stage: check
|
|
|
|
allow_failure: true
|
2022-02-03 17:30:59 +01:00
|
|
|
image:
|
|
|
|
name: ubuntu:20.04
|
|
|
|
tags:
|
|
|
|
- gitlab-org-docker
|
2022-08-14 11:58:41 +02:00
|
|
|
before_script:
|
|
|
|
- apt-get update -y
|
|
|
|
- apt-get install python3-pip python-is-python3 -y
|
2022-02-03 17:30:59 +01:00
|
|
|
script:
|
2022-08-14 11:58:41 +02:00
|
|
|
- python -m pip install -U pip wheel
|
|
|
|
- python -m pip install -U cmakelang
|
|
|
|
- cd ./Tools
|
|
|
|
- python clang_format.py
|
|
|
|
- python cmake_format.py
|
2020-10-30 16:40:16 +01:00
|
|
|
|
2022-08-14 12:02:55 +02:00
|
|
|
documentation:
|
2021-05-13 12:22:46 +02:00
|
|
|
stage: .post
|
|
|
|
script:
|
|
|
|
- curl --request POST --form "token=$CI_JOB_TOKEN" --form ref=master https://gitlab.com/api/v4/projects/15800262/trigger/pipeline
|