Skip to content

Commit 6fc1a1d

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

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,14 @@ 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+
include:
50+
- runner: [ubuntu-latest, ubuntu-24.04-arm, macos-14, macos-13, windows-latest]
4651
steps:
4752
- uses: actions/checkout@v4
4853
with:
@@ -87,7 +92,7 @@ jobs:
8792
name: Publish to crates.io
8893
runs-on: ubuntu-latest
8994
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]
95+
needs: [check_format, build_workspace, build_lib_all_features, build_lib_no_default_features, build_release]
9196
steps:
9297
- uses: actions/checkout@v4
9398
- name: Publish splashsurf_lib

0 commit comments

Comments
 (0)