cog/.gitlab-ci.yml

24 lines
670 B
YAML
Raw Normal View History

2021-12-29 05:16:39 +00:00
.macos_saas_runners:
tags:
- shared-macos-amd64
image: macos-11-xcode-13
2019-11-06 04:55:32 +00:00
variables:
GIT_SUBMODULE_STRATEGY: recursive
2019-11-06 04:39:37 +00:00
stages:
- build
build_project:
2021-12-29 05:16:39 +00:00
extends:
- .macos_saas_runners
2019-11-06 04:39:37 +00:00
stage: build
script:
2019-11-06 04:53:55 +00:00
- cp "$DEV_TEAM_FILE" Xcode-config/DEVELOPMENT_TEAM.xcconfig
2021-12-29 05:22:40 +00:00
- xcodebuild -workspace "./Cog.xcodeproj/project.xcworkspace" -scheme Cog -configuration Release -derivedDataPath "./CogBuilds" CODE_SIGNING_ALLOWED=NO ONLY_ACTIVE_ARCH=NO build
2019-11-06 05:03:31 +00:00
- ditto -c -k --sequesterRsrc --keepParent "./CogBuilds/Build/Products/Release/Cog.app" "./CogBuilds/Cog.app.zip"
artifacts:
paths:
- ./CogBuilds/Cog.app.zip
2021-12-29 05:16:39 +00:00
expire_in: 1 week