Viewing is open to everyone. Downloading and starring need a GitHub sign-in. Sign in with GitHub

sdk-swift.yml

v0.1.0-build.85 Latest Commit ede38f5

Size
1.2 KB
Lines
45
Language
yaml
SHA-256
9da30fb17bab…
View on GitHub

Sign in with GitHub to download. Each download is recorded with your GitHub username.

1name: SDK Swift
2on:
3 push:
4 paths:
5 - "Package.swift"
6 - "sdk/swift/**"
7 - "src/**"
8 - "include/**"
9 - "VERSION"
10 - ".github/workflows/sdk-swift.yml"
11 pull_request:
12 paths:
13 - "Package.swift"
14 - "sdk/swift/**"
15 - "src/**"
16 - "include/**"
17 - "VERSION"
18 - ".github/workflows/sdk-swift.yml"
19 workflow_dispatch:
20 workflow_call: # the release workflow builds release packages with this file
21permissions:
22 contents: read
23jobs:
24 swift:
25 name: swift build and test (macOS)
26 runs-on: macos-15
27 timeout-minutes: 45
28 steps:
29 # Maintainers: pin actions to full commit SHAs (as ci.yml does).
30 - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
31 - name: Toolchain
32 run: |
33 xcodebuild -version
34 swift --version
35 - name: Build
36 run: swift build -v
37 - name: Test
38 run: swift test
39 - name: Build release
40 run: swift build -c release
41 - name: Build for iOS (simulator)
42 run: |
43 xcodebuild build -scheme CKey-Package \
44 -destination "generic/platform=iOS Simulator" \
45 -skipPackagePluginValidation CODE_SIGNING_ALLOWED=NO