1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-10-06 09:17:07 +02:00
ScreenPlay/.gitlab-ci.yml

105 lines
3.1 KiB
YAML
Raw Normal View History

2018-11-08 21:08:33 +01:00
stages:
- build_steam
- build_standalone
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
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
build_standalone:windows:
2018-11-08 21:08:33 +01:00
stage: build
tags:
- 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
- cd Tools
2021-05-16 13:12:24 +02:00
- python setup.py
- python build.py -type release -use-aqt -installer -deploy
artifacts:
expire_in: "never"
paths:
- build-x64-windows-release/bin/
- build-x64-windows-release/ScreenPlay-Installer.exe
build_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
- python3 build.py -type release -use-aqt -deploy -architecture x64
- python3 build.py -type release -use-aqt -deploy -architecture arm64
- python3 macos_lipo.py
artifacts:
expire_in: "never"
paths:
- build-universal-osx-release/bin/
build_steam:windows:
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
- cd Tools
- python setup.py
- python build.py -type release -steam -use-aqt -deploy
artifacts:
expire_in: "never"
paths:
- build-x64-windows-release/bin/
build_steam:osx:
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
- cd Tools
- python3 setup.py
- 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
artifacts:
expire_in: "4 weeks"
paths:
- build-universal-osx-release/bin/
check:
stage: check
allow_failure: true
image:
name: ubuntu:20.04
tags:
- gitlab-org-docker
before_script:
- apt-get update -y
- apt-get install python3-pip python-is-python3 -y
script:
- 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
build_docs:
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