1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-14 22:42:34 +02:00
ScreenPlay/.gitlab-ci.yml

99 lines
2.7 KiB
YAML
Raw Normal View History

2018-11-08 21:08:33 +01:00
stages:
- check
2018-11-08 21:08:33 +01:00
- build
check:
stage: check
tags:
- vs2019
- windows10
script:
- cd Tools
- pip install cmakelang
- python format-cmake.py
- python format-cpp.py
build:windows_debug:
2018-11-08 21:08:33 +01:00
stage: build
tags:
- vs2019
- windows10
needs:
- check
script:
- cd Tools
- python build.py -t debug
artifacts:
expire_in: '4 weeks'
paths:
- build-x64-window-debug/bin/
build:windows_release:
stage: build
tags:
- vs2019
- windows10
needs:
- check
2018-11-08 21:08:33 +01:00
script:
- cd Tools
- python build.py -t release
2018-11-08 21:08:33 +01:00
artifacts:
expire_in: '4 weeks'
2018-11-08 21:08:33 +01:00
paths:
- build-x64-window-release/bin/
build:linux_debug:
stage: build
2020-10-29 21:38:08 +01:00
allow_failure: true
2020-10-29 21:00:47 +01:00
image:
name: darkmattercoder/qt-build:5.15.1
entrypoint: [""]
tags:
2020-10-29 20:51:33 +01:00
- gitlab-org-docker
needs:
- check
script:
2020-10-29 21:22:53 +01:00
- sudo apt-get update -y
2020-10-29 21:28:01 +01:00
- sudo apt-get install apt-transport-https ca-certificates gnupg software-properties-common wget software-properties-common -y
- wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | sudo tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null
2020-10-29 21:20:10 +01:00
- sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic-rc main' -y
2020-10-29 21:02:54 +01:00
- sudo apt-get update -y
2020-10-29 21:03:11 +01:00
- sudo apt install build-essential libgl1-mesa-dev lld ninja-build cmake -y
- cd Tools
- python build.py -t debug
artifacts:
expire_in: '4 weeks'
paths:
- build-x64-linux-debug/bin/
build:linux_release:
stage: build
2020-10-29 21:38:08 +01:00
allow_failure: true
2020-10-29 21:00:47 +01:00
image:
name: darkmattercoder/qt-build:5.15.1
entrypoint: [""]
tags:
2020-10-29 20:51:33 +01:00
- gitlab-org-docker
needs:
- check
script:
2020-10-29 21:22:53 +01:00
- sudo apt-get update -y
2020-10-29 21:28:01 +01:00
- sudo apt-get install apt-transport-https ca-certificates gnupg software-properties-common wget software-properties-common -y
- wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | sudo tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null
2020-10-29 21:20:10 +01:00
- sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic-rc main' -y
2020-10-29 21:02:54 +01:00
- sudo apt-get update -y
2020-10-29 21:03:11 +01:00
- sudo apt install build-essential libgl1-mesa-dev lld ninja-build cmake -y
- cd Tools
- python build.py -t release
artifacts:
expire_in: '4 weeks'
paths:
- build-x64-linux-release/bin/
build_docs:
2019-12-13 13:29:56 +01:00
stage: .post
script:
- curl --request POST --form "token=$CI_JOB_TOKEN" --form ref=master https://gitlab.com/api/v4/projects/15800262/trigger/pipeline