Skip to content

Commit d0e65e3

Browse files
committed
Build & test on more targets
1 parent f208d35 commit d0e65e3

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,13 @@ jobs:
4040
run: cargo test
4141

4242
build_release:
43-
name: Build & test release mode
44-
runs-on: ubuntu-latest
43+
name: Build & test release mode (${{ matrix.runner }})
44+
runs-on: ${{ matrix.runner }}
4545
needs: build_workspace
46+
strategy:
47+
fail-fast: false
48+
matrix:
49+
runner: [ubuntu-latest, ubuntu-24.04-arm, macos-14, macos-13, windows-latest]
4650
steps:
4751
- uses: actions/checkout@v4
4852
with:
@@ -87,7 +91,7 @@ jobs:
8791
name: Publish to crates.io
8892
runs-on: ubuntu-latest
8993
if: ${{ startsWith(github.ref, 'refs/tags/v') || (github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main') }}
90-
needs: [check_format, build_workspace, build_lib_all_features, build_lib_no_default_features]
94+
needs: [check_format, build_workspace, build_lib_all_features, build_lib_no_default_features, build_release]
9195
steps:
9296
- uses: actions/checkout@v4
9397
- name: Publish splashsurf_lib

0 commit comments

Comments
 (0)