Skip to content

Commit

Permalink
πŸ‘©β€πŸ’» Put builds into a build matrix
Browse files Browse the repository at this point in the history
Also upload artifacts, add Linux target.
  • Loading branch information
fuzzybinary committed Sep 24, 2023
1 parent b822b14 commit 0d160fa
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,14 @@ on:
- main
pull_request:
jobs:
build_windows:
runs-on: [windows-latest]
build:
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
env:
DEPOT_TOOLS_WIN_TOOLCHAIN: 0
continue-on-error: true
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
Expand All @@ -20,3 +24,9 @@ jobs:
- uses: threeal/[email protected]
- name: Build Shared Library
run: cmake --build build --config release
- name: 'Upload Artifact'
uses: actions/upload-artifact@v3
with:
name: libs
path: ./build/src/Release/

5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@
"**/.DS_Store": true, // this is a default value

"dart-sdk/": true
}
},
"dart.analysisExcludedFolders": [
"dart-sdk"
]
}

0 comments on commit 0d160fa

Please sign in to comment.