Skip to content

Commit f4b5f09

Browse files
Merge pull request #55 from ipsosante/catalyst
Add Catalyst support
2 parents 1878bd3 + e4bde61 commit f4b5f09

File tree

22 files changed

+1296
-19
lines changed

22 files changed

+1296
-19
lines changed

.github/workflows/main.yml

Lines changed: 87 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,95 @@ on:
88

99
jobs:
1010
lint:
11+
name: Lint
1112
runs-on: ubuntu-latest
1213
steps:
13-
- uses: actions/checkout@v1
14+
- uses: actions/checkout@v2
1415
- name: shellcheck
15-
uses: azohra/shell-linter@v0.3.0
16+
uses: azohra/shell-linter@v0.4.0
1617
with:
1718
path: "*.sh"
19+
20+
build-boost:
21+
name: Build boost
22+
runs-on: macos-latest
23+
steps:
24+
- uses: actions/checkout@v2
25+
- run: bash boost.sh
26+
- name: Upload built boost.xcframework
27+
uses: actions/upload-artifact@v2
28+
with:
29+
name: boost.xcframework
30+
path: dist/boost.xcframework
31+
32+
build-macOS:
33+
name: Build macOS (native)
34+
needs: build-boost
35+
runs-on: macos-latest
36+
steps:
37+
- uses: actions/checkout@v2
38+
- name: Download boost.xcframework from job build-boost
39+
uses: actions/download-artifact@v2
40+
with:
41+
name: boost.xcframework
42+
path: dist/boost.xcframework
43+
- uses: sersoft-gmbh/[email protected]
44+
with:
45+
project: SampleBoostApp/SampleBoostApp.xcodeproj
46+
scheme: SampleBoostApp_macOS
47+
destination: platform=macOS
48+
action: build
49+
50+
build-macOS-catalyst:
51+
name: Build macOS (Catalyst)
52+
needs: build-boost
53+
runs-on: macos-latest
54+
steps:
55+
- uses: actions/checkout@v2
56+
- name: Download boost.xcframework from job build-boost
57+
uses: actions/download-artifact@v2
58+
with:
59+
name: boost.xcframework
60+
path: dist/boost.xcframework
61+
- uses: sersoft-gmbh/[email protected]
62+
with:
63+
project: SampleBoostApp/SampleBoostApp.xcodeproj
64+
scheme: SampleBoostApp_iOS
65+
destination: platform=macOS
66+
action: build
67+
68+
build-iOS:
69+
name: Build iOS
70+
needs: build-boost
71+
runs-on: macos-latest
72+
steps:
73+
- uses: actions/checkout@v2
74+
- name: Download boost.xcframework from job build-boost
75+
uses: actions/download-artifact@v2
76+
with:
77+
name: boost.xcframework
78+
path: dist/boost.xcframework
79+
- uses: sersoft-gmbh/[email protected]
80+
with:
81+
project: SampleBoostApp/SampleBoostApp.xcodeproj
82+
scheme: SampleBoostApp_iOS
83+
destination: platform=iOS Simulator,name=iPhone 11
84+
action: build
85+
86+
build-tvOS:
87+
name: Build tvOS
88+
needs: build-boost
89+
runs-on: macos-latest
90+
steps:
91+
- uses: actions/checkout@v2
92+
- name: Download boost.xcframework from job build-boost
93+
uses: actions/download-artifact@v2
94+
with:
95+
name: boost.xcframework
96+
path: dist/boost.xcframework
97+
- uses: sersoft-gmbh/[email protected]
98+
with:
99+
project: SampleBoostApp/SampleBoostApp.xcodeproj
100+
scheme: SampleBoostApp_tvOS
101+
destination: platform=tvOS Simulator,name=Apple TV
102+
action: build

.gitignore

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,44 @@ src/
33
build/
44
*.tar.bz2
55

6+
# Created by https://www.toptal.com/developers/gitignore/api/xcode,macos
7+
# Edit at https://www.toptal.com/developers/gitignore?templates=xcode,macos
8+
9+
### macOS ###
10+
# General
611
.DS_Store
12+
.AppleDouble
13+
.LSOverride
14+
15+
# Icon must end with two \r
16+
Icon
17+
18+
# Thumbnails
19+
._*
20+
21+
# Files that might appear in the root of a volume
22+
.DocumentRevisions-V100
23+
.fseventsd
24+
.Spotlight-V100
25+
.TemporaryItems
26+
.Trashes
27+
.VolumeIcon.icns
28+
.com.apple.timemachine.donotpresent
29+
30+
# Directories potentially created on remote AFP share
31+
.AppleDB
32+
.AppleDesktop
33+
Network Trash Folder
34+
Temporary Items
35+
.apdisk
36+
37+
### Xcode ###
38+
## User settings
39+
xcuserdata/
40+
41+
### Xcode Patch ###
42+
*.xcodeproj/*
43+
!*.xcodeproj/project.pbxproj
44+
!*.xcodeproj/xcshareddata/
45+
!*.xcworkspace/contents.xcworkspacedata
46+
**/xcshareddata/WorkspaceSettings.xcsettings

0 commit comments

Comments
 (0)