Skip to content

Commit 9aef09b

Browse files
authored
Merge pull request #84 from twostraws/ci
Adding a CI
2 parents c785971 + d38db56 commit 9aef09b

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/build.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: build
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
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

Comments
 (0)