Skip to content

ci: add GitHub Actions build workflow #1

ci: add GitHub Actions build workflow

ci: add GitHub Actions build workflow #1

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Install xcodegen
run: brew install xcodegen
- name: Generate Xcode project
run: xcodegen generate
- name: Build
run: |
xcodebuild build \
-project NostrKey.xcodeproj \
-scheme NostrKey \
-configuration Debug \
-destination 'platform=iOS Simulator,name=iPhone 16,OS=latest' \
CODE_SIGN_IDENTITY="" \
CODE_SIGNING_REQUIRED=NO \
CODE_SIGNING_ALLOWED=NO