Skip to content

Commit 00486d7

Browse files
committed
Add GitHub Actions CI workflow
- CI: Build on push/PR to main (macOS 14, Swift 5.9, debug + release) - Notarization workflow deferred until Apple Developer account is available
1 parent 75da397 commit 00486d7

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
13+
jobs:
14+
build:
15+
name: Build & Test
16+
runs-on: macos-14
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v4
20+
21+
- name: Setup Swift
22+
uses: swift-actions/setup-swift@v2
23+
with:
24+
swift-version: "5.9"
25+
26+
- name: Resolve dependencies
27+
run: swift package resolve
28+
29+
- name: Build (Debug)
30+
run: swift build -c debug
31+
32+
- name: Build (Release)
33+
run: swift build -c release

0 commit comments

Comments
 (0)