From 4ad3b14c31e2e6b30e5fb0a09d9cb9e86818f113 Mon Sep 17 00:00:00 2001 From: Elias Steurer Date: Sat, 15 Oct 2022 12:05:37 +0200 Subject: [PATCH] Add sign step for macos on release branch --- .gitlab-ci.yml | 37 +++++++++++++++++++++++++++++++++---- 1 file changed, 33 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8f341d49..1ca229c4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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