|
8 | 8 |
|
9 | 9 | jobs: |
10 | 10 | lint: |
| 11 | + name: Lint |
11 | 12 | runs-on: ubuntu-latest |
12 | 13 | steps: |
13 | | - - uses: actions/checkout@v1 |
| 14 | + - uses: actions/checkout@v2 |
14 | 15 | - name: shellcheck |
15 | | - uses: azohra/shell-linter@v0.3.0 |
| 16 | + uses: azohra/shell-linter@v0.4.0 |
16 | 17 | with: |
17 | 18 | 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 |
0 commit comments