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

Add sign step for macos on release branch

This commit is contained in:
Elias Steurer 2022-10-15 12:05:37 +02:00
parent becfe4bf57
commit 4ad3b14c31

View File

@ -1,5 +1,6 @@
stages:
- build
- sign
- check
.base_windows_build:
@ -14,7 +15,7 @@ stages:
- pip3 install -r Tools/requirements.txt
- python3 Tools/setup.py
standalone:windows:
standalone_windows:
stage: build
extends:
- .base_windows_build
@ -28,7 +29,7 @@ standalone:windows:
- build-x64-windows-release/bin/
- build-x64-windows-release/ScreenPlay-Installer.exe
standalone:osx:
standalone_osx:
stage: build
extends:
- .base_unix_build
@ -43,7 +44,7 @@ standalone:osx:
paths:
- build-universal-osx-release/bin/
steam:windows:
steam_windows:
stage: build
extends:
- .base_windows_build
@ -56,7 +57,7 @@ steam:windows:
paths:
- build-x64-windows-release/bin/
steam:osx:
steam_osx:
stage: build
extends:
- .base_unix_build
@ -71,6 +72,34 @@ steam:osx:
paths:
- build-universal-osx-release/bin/
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/
formatting:
stage: check
allow_failure: true