Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows #70
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: shellcheck | |
uses: azohra/[email protected] | |
with: | |
path: "*.sh" | |
build-boost: | |
name: Build boost | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: maxim-lobanov/[email protected] | |
with: | |
xcode-version: latest-stable | |
- 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/[email protected] | |
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/[email protected] | |
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/[email protected] | |
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/[email protected] | |
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 |