Skip to content

Commit f8378f3

Browse files
Fix matrix in native.yaml
1 parent 3cbc9df commit f8378f3

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

.github/workflows/native.yaml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,6 @@ jobs:
1717
name: "Build native (${{ matrix.target }})"
1818
runs-on: ${{ matrix.runner }}
1919
timeout-minutes: 30
20-
# Linux targets always build. macOS runners are expensive, so they only build on main, release
21-
# branches and tags (where the release artifacts are assembled).
22-
# TODO(shared-core-jni): the last clause keeps macOS builds on for this PR for testing; remove
23-
# it before merging.
24-
if: >-
25-
${{ !startsWith(matrix.runner, 'macos')
26-
|| github.ref == 'refs/heads/main'
27-
|| startsWith(github.ref, 'refs/heads/release')
28-
|| startsWith(github.ref, 'refs/tags/')
29-
|| github.head_ref == 'shared-core-jni' }}
3020
strategy:
3121
fail-fast: false
3222
matrix:
@@ -49,6 +39,7 @@ jobs:
4939
runner: ubuntu-latest
5040
cross: true
5141
rustflags: "-C target-feature=-crt-static"
42+
# macOS runners are expensive; comment out the two darwin targets to disable them.
5243
- target: x86_64-apple-darwin
5344
runner: macos-13
5445
cross: false

0 commit comments

Comments
 (0)