|
18 | 18 | libs_macos: |
19 | 19 | name: Building macOS libraries |
20 | 20 | if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository) |
21 | | - runs-on: ubuntu-latest |
| 21 | + runs-on: macos-latest |
22 | 22 | steps: |
23 | 23 | - uses: actions/checkout@v4 |
24 | 24 | with: |
|
29 | 29 | libs_windows: |
30 | 30 | name: Building Windows libraries |
31 | 31 | if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository) |
32 | | - runs-on: ubuntu-latest |
| 32 | + runs-on: windows-latest |
33 | 33 | steps: |
34 | 34 | - uses: actions/checkout@v4 |
35 | 35 | with: |
@@ -73,20 +73,18 @@ jobs: |
73 | 73 | - name: Build XCFramework |
74 | 74 | uses: ./.github/actions/xcframework |
75 | 75 |
|
76 | | - build: |
77 | | - name: Testing on ${{ matrix.os }} |
| 76 | + rust_unit_tests: |
| 77 | + name: Rust unit tests on ${{ matrix.os }} |
78 | 78 | if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository) |
79 | 79 | runs-on: ${{ matrix.os }} |
80 | 80 | strategy: |
81 | 81 | fail-fast: false |
82 | 82 | matrix: |
83 | 83 | os: [ubuntu-24.04, macos-latest] |
84 | | - |
85 | 84 | steps: |
86 | 85 | - uses: actions/checkout@v4 |
87 | 86 | with: |
88 | 87 | submodules: true |
89 | | - - uses: dart-lang/setup-dart@v1 |
90 | 88 |
|
91 | 89 | - name: Ubuntu setup |
92 | 90 | if: matrix.os == 'ubuntu-24.04' |
@@ -124,6 +122,23 @@ jobs: |
124 | 122 | run: | |
125 | 123 | ./target/release/sqlite3 ":memory:" ".load ./target/release/libpowersync" "select powersync_rs_version()" |
126 | 124 |
|
| 125 | + build: |
| 126 | + name: Testing on ${{ matrix.os }} |
| 127 | + if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository) |
| 128 | + runs-on: ${{ matrix.os }} |
| 129 | + needs: [libs_linux, libs_macos] |
| 130 | + strategy: |
| 131 | + fail-fast: false |
| 132 | + matrix: |
| 133 | + os: [ubuntu-24.04, ubuntu-arm64, macos-latest, windows-latest] |
| 134 | + |
| 135 | + steps: |
| 136 | + - uses: actions/checkout@v4 |
| 137 | + with: |
| 138 | + submodules: true |
| 139 | + |
| 140 | + - uses: dart-lang/setup-dart@v1 |
| 141 | + |
127 | 142 | - uses: actions/cache@v4 |
128 | 143 | id: sqlite_build |
129 | 144 | with: |
|
0 commit comments