-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (25 loc) · 1013 Bytes
/
ci.yml
File metadata and controls
32 lines (25 loc) · 1013 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
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build-and-test:
runs-on: macos-26
steps:
- uses: actions/checkout@v4
- name: Create Config.xcconfig with dummy values
run: |
cat > Config.xcconfig <<'EOF'
GOOGLE_CLIENT_ID = dummy-client-id.apps.googleusercontent.com
GOOGLE_REDIRECT_SCHEME = com.googleusercontent.apps.dummy-client-id
EOF
- name: Install XcodeGen
run: brew install xcodegen
- name: Generate Xcode project
run: xcodegen generate
- name: Build
run: xcodebuild build -project TaskMenu.xcodeproj -scheme TaskMenu -destination "platform=macOS" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGN_STYLE=Manual DEVELOPMENT_TEAM=""
- name: Test
run: xcodebuild test -project TaskMenu.xcodeproj -scheme TaskMenu -destination "platform=macOS" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGN_STYLE=Manual DEVELOPMENT_TEAM=""