|
5 | 5 | pull_request:
|
6 | 6 |
|
7 | 7 | jobs:
|
8 |
| - demo: |
| 8 | + builds: |
9 | 9 | runs-on: ${{ matrix.os }}
|
10 | 10 | strategy:
|
11 | 11 | fail-fast: false
|
|
17 | 17 | with:
|
18 | 18 | path: swift-android-action
|
19 | 19 |
|
20 |
| - - name: Checkout apple/swift-numerics |
21 |
| - uses: actions/checkout@v4 |
22 |
| - with: |
23 |
| - repository: apple/swift-numerics |
24 |
| - path: apple/swift-numerics |
25 |
| - - name: Setup Toolchain |
26 |
| - id: setup-toolchain |
27 |
| - uses: ./swift-android-action/ |
28 |
| - #uses: skiptools/swift-android-action@v2 |
29 |
| - with: |
30 |
| - # just set up the toolchain and don't build anything |
31 |
| - build-package: false |
32 |
| - - name: Build Package With Toolchain |
33 |
| - working-directory: apple/swift-numerics |
34 |
| - run: | |
35 |
| - echo "SWIFT COMMAND: ${{ steps.setup-toolchain.outputs.swift-build }}" |
36 |
| - ${{ steps.setup-toolchain.outputs.swift-build }} -c debug |
37 |
| - ls -la .build/${{ steps.setup-toolchain.outputs.swift-sdk }}/debug |
38 |
| - ${{ steps.setup-toolchain.outputs.swift-build }} -c release |
39 |
| - ls -la .build/${{ steps.setup-toolchain.outputs.swift-sdk }}/release |
40 |
| -
|
41 | 20 | - name: Checkout jpsim/Yams
|
42 | 21 | uses: actions/checkout@v4
|
43 | 22 | with:
|
|
81 | 60 | package-path: skiptools/swift-sqlite
|
82 | 61 | run-tests: ${{ matrix.os != 'macos-15' }} # no tests on macOS ARM
|
83 | 62 |
|
| 63 | + toolchain-setup: |
| 64 | + runs-on: ${{ matrix.os }} |
| 65 | + strategy: |
| 66 | + fail-fast: false |
| 67 | + matrix: |
| 68 | + os: ['ubuntu-24.04', 'ubuntu-22.04', 'ubuntu-20.04', 'macos-13', 'macos-15'] |
| 69 | + steps: |
| 70 | + - name: Checkout Action |
| 71 | + uses: actions/checkout@v4 |
| 72 | + with: |
| 73 | + path: swift-android-action |
| 74 | + |
| 75 | + - name: Setup Toolchain |
| 76 | + id: setup-toolchain |
| 77 | + uses: ./swift-android-action/ |
| 78 | + #uses: skiptools/swift-android-action@v2 |
| 79 | + with: |
| 80 | + # just set up the toolchain and don't build anything |
| 81 | + build-package: false |
| 82 | + - name: Checkout apple/swift-numerics |
| 83 | + uses: actions/checkout@v4 |
| 84 | + with: |
| 85 | + repository: apple/swift-numerics |
| 86 | + path: apple/swift-numerics |
| 87 | + - name: Build Package With Toolchain |
| 88 | + working-directory: apple/swift-numerics |
| 89 | + run: | |
| 90 | + echo "SWIFT COMMAND: ${{ steps.setup-toolchain.outputs.swift-build }}" |
| 91 | + ${{ steps.setup-toolchain.outputs.swift-build }} -c debug |
| 92 | + ls -la .build/${{ steps.setup-toolchain.outputs.swift-sdk }}/debug |
| 93 | + ${{ steps.setup-toolchain.outputs.swift-build }} -c release |
| 94 | + ls -la .build/${{ steps.setup-toolchain.outputs.swift-sdk }}/release |
| 95 | +
|
0 commit comments