-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
53 lines (46 loc) · 1.65 KB
/
Copy path.gitlab-ci.yml
File metadata and controls
53 lines (46 loc) · 1.65 KB
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
stages:
- int-test
# Use resource_group as tests use the simulator so they can't run in parallel.
# See https://gitlab.com/gitlab-org/gitlab/issues/15536 for future support of locks.
.common:
stage: int-test
resource_group: "ios-simulator"
tags:
- xcode
- mac
# Test Swift Package releases (uses Swift Package Manager)
# See docs/release-checklist.md in the objectbox-swift repo on how to create a release.
swiftpm:
extends: .common
script:
- ./test.sh --clean --swiftpm --version 5.3.0
swiftpm-sync:
extends: .common
script:
- ./test.sh --clean --swiftpm --version 5.3.0 --sync
# Test CocoaPods releases
# See docs/release-checklist.md in the objectbox-swift repo on how to create a staging release.
# Note: hide the job by prefixing it with a dot, enable it (remove the dot) when testing new staging releases
.cocoapods-staging:
extends: .common
script:
- ./test.sh --clean --staging --version 5.2.0-rc7
# Optional: test Sync preview release
- ./test.sh --clean --staging --version 5.2.0-rc7-sync
cocoapods-latest:
extends: .common
script:
# Run once without version to check if the latest version is found (then verify log output)
# These tests take a long time on our current runner, so test no version only on CircleCI
# - ./test.sh --clean
- ./test.sh --clean --version 5.3.0
cocoapods-sync-latest:
extends: .common
script:
- ./test.sh --clean --version 5.3.0-sync
# These tests take a long time on our current runner, so test previous version only on CircleCI
#cocoapods-previous:
# extends: .common
# script:
# - ./test.sh --clean --version 4.3.0
# - ./test.sh --clean --version 4.3.0-sync