-
Notifications
You must be signed in to change notification settings - Fork 13
35 lines (29 loc) · 935 Bytes
/
dart.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Build and Test Dart
on: [push, pull_request]
permissions:
contents: read
jobs:
build:
name: Dart
runs-on: ubuntu-latest
steps:
- name: Install packages
run: |
sudo apt-get update
sudo apt-get install -y ninja-build clang libgtk-3-dev
- name: Set up Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 #v5.0.0
with:
go-version: '1.22'
- name: Setup Flutter
uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225 #v2.12.0
with:
flutter-version: '3.22.2'
- name: Check out source
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1
- name: Go generate
working-directory: ./bruig
run: go generate ./golibbuilder
- name: Linux GUI build
working-directory: ./bruig/flutterui/bruig
run: flutter build linux