Skip to content

docs: Improve readme #5

docs: Improve readme

docs: Improve readme #5

Workflow file for this run

# SPDX-FileCopyrightText: 2024 Klarälvdalens Datakonsult AB, a KDAB Group company <[email protected]>
#
# SPDX-License-Identifier: MIT
# Builds the example with the pre-generated bindings.
# Does not generate bindings.
name: Build Example
on:
workflow_dispatch:
pull_request:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install ninja
uses: turtlesec-no/get-ninja@main
- name: Install Dart SDK
uses: dart-lang/setup-dart@v1
- name: Build example
run: |
cd example/
cmake -G Ninja .
ninja
- name: Run example
run: |
cd example/app
dart pub get
cd ..
dart run app/bin/main.dart