We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c785971 commit 9b6e05aCopy full SHA for 9b6e05a
.github/workflows/build.yml
@@ -0,0 +1,27 @@
1
+name: build
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
12
+ runs-on: macos-latest
13
14
+ steps:
15
+ - uses: actions/checkout@v2
16
17
+ - name: Select Xcode Version
18
+ uses: maxim-lobanov/setup-xcode@v1
19
+ with:
20
+ xcode-version: latest-stable
21
22
+ - name: Show eligible build destinations
23
+ run: xcodebuild -showdestinations -scheme CodeScanner
24
+ - name: Build and test ( mac Catalyst 12.0)
25
+ run: xcodebuild test -scheme CodeScanner -destination 'platform=macOS,arch=x86_64,variant=Mac Catalyst'
26
+ - name: Build and test ( iOS 15.0)
27
+ run: xcodebuild test -scheme CodeScanner -destination 'platform=iOS Simulator,OS=15.0,name=iPhone 12 Pro'
0 commit comments