Skip to content

Commit

Permalink
Merge pull request #55 from ipsosante/catalyst
Browse files Browse the repository at this point in the history
Add Catalyst support
  • Loading branch information
faithfracture authored Nov 26, 2020
2 parents 1878bd3 + e4bde61 commit f4b5f09
Show file tree
Hide file tree
Showing 22 changed files with 1,296 additions and 19 deletions.
89 changes: 87 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,95 @@ on:

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: shellcheck
uses: azohra/shell-linter@v0.3.0
uses: azohra/shell-linter@v0.4.0
with:
path: "*.sh"

build-boost:
name: Build boost
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- run: bash boost.sh
- name: Upload built boost.xcframework
uses: actions/upload-artifact@v2
with:
name: boost.xcframework
path: dist/boost.xcframework

build-macOS:
name: Build macOS (native)
needs: build-boost
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Download boost.xcframework from job build-boost
uses: actions/download-artifact@v2
with:
name: boost.xcframework
path: dist/boost.xcframework
- uses: sersoft-gmbh/[email protected]
with:
project: SampleBoostApp/SampleBoostApp.xcodeproj
scheme: SampleBoostApp_macOS
destination: platform=macOS
action: build

build-macOS-catalyst:
name: Build macOS (Catalyst)
needs: build-boost
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Download boost.xcframework from job build-boost
uses: actions/download-artifact@v2
with:
name: boost.xcframework
path: dist/boost.xcframework
- uses: sersoft-gmbh/[email protected]
with:
project: SampleBoostApp/SampleBoostApp.xcodeproj
scheme: SampleBoostApp_iOS
destination: platform=macOS
action: build

build-iOS:
name: Build iOS
needs: build-boost
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Download boost.xcframework from job build-boost
uses: actions/download-artifact@v2
with:
name: boost.xcframework
path: dist/boost.xcframework
- uses: sersoft-gmbh/[email protected]
with:
project: SampleBoostApp/SampleBoostApp.xcodeproj
scheme: SampleBoostApp_iOS
destination: platform=iOS Simulator,name=iPhone 11
action: build

build-tvOS:
name: Build tvOS
needs: build-boost
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Download boost.xcframework from job build-boost
uses: actions/download-artifact@v2
with:
name: boost.xcframework
path: dist/boost.xcframework
- uses: sersoft-gmbh/[email protected]
with:
project: SampleBoostApp/SampleBoostApp.xcodeproj
scheme: SampleBoostApp_tvOS
destination: platform=tvOS Simulator,name=Apple TV
action: build
40 changes: 40 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,44 @@ src/
build/
*.tar.bz2

# Created by https://www.toptal.com/developers/gitignore/api/xcode,macos
# Edit at https://www.toptal.com/developers/gitignore?templates=xcode,macos

### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### Xcode ###
## User settings
xcuserdata/

### Xcode Patch ###
*.xcodeproj/*
!*.xcodeproj/project.pbxproj
!*.xcodeproj/xcshareddata/
!*.xcworkspace/contents.xcworkspacedata
**/xcshareddata/WorkspaceSettings.xcsettings
Loading

0 comments on commit f4b5f09

Please sign in to comment.