Skip to content

Commit 0d160fa

Browse files
committed
πŸ‘©β€πŸ’» Put builds into a build matrix
Also upload artifacts, add Linux target.
1 parent b822b14 commit 0d160fa

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

β€Ž.github/workflows/build.yaml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,14 @@ on:
55
- main
66
pull_request:
77
jobs:
8-
build_windows:
9-
runs-on: [windows-latest]
8+
build:
9+
strategy:
10+
matrix:
11+
os: [windows-latest, ubuntu-latest]
1012
env:
1113
DEPOT_TOOLS_WIN_TOOLCHAIN: 0
14+
continue-on-error: true
15+
runs-on: ${{ matrix.os }}
1216
steps:
1317
- uses: actions/checkout@v3
1418
- uses: dart-lang/setup-dart@v1
@@ -20,3 +24,9 @@ jobs:
2024
- uses: threeal/[email protected]
2125
- name: Build Shared Library
2226
run: cmake --build build --config release
27+
- name: 'Upload Artifact'
28+
uses: actions/upload-artifact@v3
29+
with:
30+
name: libs
31+
path: ./build/src/Release/
32+

β€Ž.vscode/settings.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,8 @@
44
"**/.DS_Store": true, // this is a default value
55

66
"dart-sdk/": true
7-
}
7+
},
8+
"dart.analysisExcludedFolders": [
9+
"dart-sdk"
10+
]
811
}

0 commit comments

Comments
Β (0)