-
Notifications
You must be signed in to change notification settings - Fork 2
38 lines (29 loc) · 1.1 KB
/
Copy pathci.yml
File metadata and controls
38 lines (29 loc) · 1.1 KB
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
permissions:
contents: read
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: Stamp build metadata
run: ./scripts/stamp_build_metadata.sh .
- 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=""