-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (32 loc) · 881 Bytes
/
Copy pathtest.yml
File metadata and controls
38 lines (32 loc) · 881 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
33
34
35
36
37
38
name: Test Build
on:
push:
branches: [ develop, feature/* ]
pull_request:
branches: [ main, master, develop ]
jobs:
test-build:
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- name: Test build
run: |
xcodebuild -scheme ShiftSwitch \
-configuration Debug \
clean build \
CODE_SIGN_IDENTITY="" \
CODE_SIGNING_REQUIRED=NO \
CODE_SIGNING_ALLOWED=NO
- name: Run tests (if any)
run: |
xcodebuild test \
-scheme ShiftSwitch \
-destination 'platform=macOS' \
CODE_SIGN_IDENTITY="" \
CODE_SIGNING_REQUIRED=NO \
CODE_SIGNING_ALLOWED=NO || true