-
Notifications
You must be signed in to change notification settings - Fork 297
46 lines (43 loc) · 1.34 KB
/
check_package.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
name: Swift Package
on:
pull_request:
paths: Package.swift
jobs:
build-5_7:
name: Swift 5.7
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
log-public-key: false
- name: Setup Swift 5.7
uses: swift-actions/[email protected]
with:
swift-version: "5.7"
- name: Checkout couchbase-lite-ios-release-verify
run: |
git clone https://github.com/couchbaselabs/couchbase-lite-ios-release-verify.git
- name: Validate
run: |
./couchbase-lite-ios-release-verify/Scripts/verify_spm.sh -b ${{ github.head_ref }} -ce
build-5_8:
name: Swift 5.8
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
log-public-key: false
- name: Setup Swift 5.8
uses: swift-actions/[email protected]
with:
swift-version: "5.8"
- name: Checkout couchbase-lite-ios-release-verify
run: |
git clone https://github.com/couchbaselabs/couchbase-lite-ios-release-verify.git
- name: Validate
run: |
./couchbase-lite-ios-release-verify/Scripts/verify_spm.sh -b ${{ github.head_ref }} -ce