-
Notifications
You must be signed in to change notification settings - Fork 3
42 lines (35 loc) · 1 KB
/
Copy pathci.yml
File metadata and controls
42 lines (35 loc) · 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
39
40
41
42
name: CI
on:
push:
branches:
- main
pull_request:
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: macos-26
timeout-minutes: 20
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Show Xcode version
run: xcodebuild -version
- name: Run test suite
run: |
xcodebuild test \
-project Octodot.xcodeproj \
-scheme Octodot \
-destination 'platform=macOS,arch=arm64' \
-derivedDataPath .deriveddata \
CURRENT_PROJECT_VERSION="${{ github.run_number }}"
- name: Verify Release build
run: |
xcodebuild build \
-project Octodot.xcodeproj \
-scheme Octodot \
-configuration Release \
-destination 'generic/platform=macOS' \
-derivedDataPath .deriveddata-release \
CURRENT_PROJECT_VERSION="${{ github.run_number }}"