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.
2 parents c785971 + d38db56 commit 9aef09bCopy full SHA for 9aef09b
.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 ( iOS)
25
+ run: xcodebuild build -scheme CodeScanner -destination 'platform=iOS Simulator,OS=latest,name=iPhone 13 Pro'
26
+ - name: Build ( mac Catalyst)
27
+ run: xcodebuild build -scheme CodeScanner -destination 'platform=macOS,arch=x86_64,variant=Mac Catalyst'
0 commit comments