2018-11-08 21:08:33 +01:00
|
|
|
stages:
|
2022-08-14 12:02:55 +02:00
|
|
|
- build
|
2022-04-24 16:38:12 +02:00
|
|
|
- check
|
2018-11-08 21:08:33 +01:00
|
|
|
|
2022-01-04 10:12:03 +01:00
|
|
|
variables:
|
|
|
|
GIT_STRATEGY: clone
|
2022-07-22 14:18:04 +02:00
|
|
|
QT_VERSION: 6.3.1
|
2022-02-17 18:20:27 +01:00
|
|
|
PYTHON_VERSION: 3.10.1
|
2022-01-04 10:12:03 +01:00
|
|
|
|
2022-08-14 12:02:55 +02:00
|
|
|
standalone:windows:
|
2018-11-08 21:08:33 +01:00
|
|
|
stage: build
|
|
|
|
tags:
|
2020-10-29 18:19:22 +01:00
|
|
|
- windows10
|
|
|
|
script:
|
2022-01-04 10:12:03 +01:00
|
|
|
- python -m pip install -U pip wheel
|
|
|
|
- python -m pip install -U aqtinstall
|
2022-07-22 12:40:04 +02:00
|
|
|
- python -m aqt install-qt -O ../aqt windows desktop $QT_VERSION win64_msvc2019_64 -m all
|
|
|
|
- python -m aqt install-tool -O ../aqt windows desktop tools_ifw
|
2020-10-29 18:19:22 +01:00
|
|
|
- cd Tools
|
2021-05-16 13:12:24 +02:00
|
|
|
- python setup.py
|
2022-08-14 11:58:41 +02:00
|
|
|
- python build.py -type release -use-aqt -installer -deploy
|
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-08-14 12:02:55 +02:00
|
|
|
standalone:osx:
|
2020-10-31 19:30:27 +01:00
|
|
|
stage: build
|
|
|
|
tags:
|
|
|
|
- osx
|
|
|
|
script:
|
2022-01-04 10:12:03 +01:00
|
|
|
- pip3 install -U pip
|
|
|
|
- pip3 install aqtinstall
|
2022-07-22 12:40:04 +02:00
|
|
|
- python3 -m aqt install-qt -O ../aqt mac desktop $QT_VERSION clang_64 -m all
|
|
|
|
- python3 -m aqt install-tool -O ../aqt mac desktop tools_ifw
|
2020-10-31 19:30:27 +01:00
|
|
|
- cd Tools
|
2021-05-16 13:12:24 +02:00
|
|
|
- python3 setup.py
|
2022-08-14 11:58:41 +02:00
|
|
|
- python3 build.py -type release -use-aqt -deploy -architecture x64
|
|
|
|
- python3 build.py -type release -use-aqt -deploy -architecture arm64
|
|
|
|
- python3 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-08-14 12:02:55 +02:00
|
|
|
steam:windows:
|
2022-02-03 17:30:59 +01:00
|
|
|
stage: build
|
|
|
|
tags:
|
|
|
|
- windows10
|
|
|
|
script:
|
|
|
|
- python -m pip install -U pip wheel
|
|
|
|
- python -m pip install -U aqtinstall
|
2022-07-22 12:40:04 +02:00
|
|
|
- python -m aqt install-qt -O ../aqt windows desktop $QT_VERSION win64_msvc2019_64 -m all
|
|
|
|
- python -m aqt install-tool -O ../aqt windows desktop tools_ifw
|
2022-02-03 17:30:59 +01:00
|
|
|
- cd Tools
|
|
|
|
- python setup.py
|
2022-08-14 11:58:41 +02:00
|
|
|
- python build.py -type release -steam -use-aqt -deploy
|
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-08-14 12:02:55 +02:00
|
|
|
steam:osx:
|
2022-02-03 17:30:59 +01:00
|
|
|
stage: build
|
|
|
|
tags:
|
|
|
|
- osx
|
|
|
|
script:
|
|
|
|
- pip3 install -U pip
|
|
|
|
- pip3 install aqtinstall
|
2022-07-22 12:40:04 +02:00
|
|
|
- python3 -m aqt install-qt -O ../aqt mac desktop $QT_VERSION clang_64 -m all
|
|
|
|
- python3 -m aqt install-tool -O ../aqt mac desktop tools_ifw
|
2022-02-03 17:30:59 +01:00
|
|
|
- cd Tools
|
|
|
|
- python3 setup.py
|
2022-08-14 11:58:41 +02:00
|
|
|
- python3 build.py -type release -steam -use-aqt -deploy -architecture x64
|
|
|
|
- python3 build.py -type release -steam -use-aqt -deploy -architecture arm64
|
|
|
|
- python3 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-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
|