Skip to content

Commit 473c18e

Browse files
committed
ci(build_test): matrix job for each os
1 parent b52b18e commit 473c18e

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/main.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,25 @@ jobs:
2323
out-file-path: "./.tools"
2424
- run: chmod +x ./.tools/dprint && echo "$PWD/.tools" >> $GITHUB_PATH
2525
- run: task lint
26+
27+
build_test:
28+
runs-on: ${{ matrix.os }}
29+
strategy:
30+
fail-fast: false
31+
matrix:
32+
os:
33+
- ubuntu-latest
34+
- windows-latest
35+
- macos-latest
36+
steps:
37+
- uses: actions/checkout@v4
38+
- uses: arduino/setup-task@v1
39+
- uses: actions/setup-dotnet@v4
40+
with: { global-json-file: ./global.json }
41+
- run: task test
42+
- uses: actions/upload-artifact@v4
43+
with:
44+
name: ${{ matrix.os }}
45+
path: bin/**/*
46+
compression-level: 0
47+
if-no-files-found: error

0 commit comments

Comments
 (0)