Skip to content

πŸ‘©β€πŸ’» Create a build dart script, add github actions #5

πŸ‘©β€πŸ’» Create a build dart script, add github actions

πŸ‘©β€πŸ’» Create a build dart script, add github actions #5

Workflow file for this run

name: Build Dart Shared Library
on:
push:
branches:
- main
pull_request:
jobs:
build_windows:
runs-on: [windows-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