-
Notifications
You must be signed in to change notification settings - Fork 11
/
.gitlab-ci.yml
61 lines (52 loc) · 1.18 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
image: "swift:5.10"
stages:
- build-libs
- test-libs
- build-exes
- test-exes
cache:
paths:
- "*/.build"
distributed-chat:build:
stage: build-libs
script:
- (cd DistributedChatKit && swift build)
distributed-chat:test:
stage: test-libs
script:
- (cd DistributedChatKit && swift test)
needs:
- distributed-chat:build
simulation-protocol:build:
stage: build-libs
script:
- (cd DistributedChatSimulationProtocol && swift build)
cli:build:
stage: build-exes
script:
- (cd DistributedChatCLI && swift build)
needs:
- distributed-chat:build
- simulation-protocol:build
simulation-server:build:
stage: build-exes
script:
- (cd DistributedChatSimulationServer && swift build)
needs:
- simulation-protocol:build
simulation-server:test:
stage: test-exes
script:
- (cd DistributedChatSimulationServer && swift test)
needs:
- simulation-server:build
app:build:
stage: build-exes
rules:
- when: never # TODO: Reenable
tags:
- macos
script:
- xcodebuild build -scheme DistributedChatApp -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 11,OS=14.3"
needs:
- distributed-chat:build