-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (32 loc) Β· 817 Bytes
/
Copy pathci.yml
File metadata and controls
38 lines (32 loc) Β· 817 Bytes
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
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
build-and-test:
name: Build & Test (macOS)
runs-on: macos-14
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Select Xcode
run: sudo xcode-select -switch /Applications/Xcode_16.1.app
- name: Show versions
run: |
xcodebuild -version
swift --version
- name: Build & run tests
run: |
xcodebuild test \
-project PangoLock.xcodeproj \
-scheme PangoLock \
-configuration Debug \
-destination 'platform=macOS' \
CODE_SIGNING_ALLOWED=NO \
-derivedDataPath build