Skip to content

Commit 9f9470a

Browse files
vveerrggclaude
andcommitted
ci: add GitHub Actions build workflow
Compiles on macos-latest with xcodegen + xcodebuild (simulator, no signing). Triggers on push/PR to main. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f4a232b commit 9f9470a

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CI
2+
on:
3+
push:
4+
branches: [main]
5+
pull_request:
6+
branches: [main]
7+
jobs:
8+
build:
9+
runs-on: macos-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- name: Install xcodegen
13+
run: brew install xcodegen
14+
- name: Generate Xcode project
15+
run: xcodegen generate
16+
- name: Build
17+
run: |
18+
xcodebuild build \
19+
-project NostrKey.xcodeproj \
20+
-scheme NostrKey \
21+
-configuration Debug \
22+
-destination 'platform=iOS Simulator,name=iPhone 16,OS=latest' \
23+
CODE_SIGN_IDENTITY="" \
24+
CODE_SIGNING_REQUIRED=NO \
25+
CODE_SIGNING_ALLOWED=NO

0 commit comments

Comments
 (0)