Skip to content

πŸ‘©β€πŸ’» Put builds into a build matrix #12

πŸ‘©β€πŸ’» Put builds into a build matrix

πŸ‘©β€πŸ’» Put builds into a build matrix #12

Workflow file for this run

name: Build Dart Shared Library
on:
push:
branches:
- main
pull_request:
jobs:
build_windows:
strategy:

Check failure on line 9 in .github/workflows/build.yaml

View workflow run for this annotation

GitHub Actions / Build Dart Shared Library

Invalid workflow file

The workflow is not valid. .github/workflows/build.yaml (Line: 9, Col: 5): Required property is missing: runs-on
matrix:
os: [windows-latest, ubuntu-latest]
env:
DEPOT_TOOLS_WIN_TOOLCHAIN: 0
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
- uses: ilammy/msvc-dev-cmd@v1
- run: dart pub get
working-directory: ./scripts/build_helpers
- name: Build Dart
run: dart ./scripts/build_helpers/bin/build_dart.dart
- 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/