File tree Expand file tree Collapse file tree 4 files changed +80063
-57616
lines changed
Expand file tree Collapse file tree 4 files changed +80063
-57616
lines changed Original file line number Diff line number Diff line change 1+ name : Generate libflatpak.dart bindings
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+ pull_request :
7+ branches : [ "main" ]
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+
13+ permissions :
14+ # Give the default GITHUB_TOKEN write permission to commit and push the changed files back to the repository.
15+ contents : write
16+
17+ steps :
18+ - uses : actions/checkout@v4
19+ - uses : dart-lang/setup-dart@9a04e6d73cca37bd455e0608d7e5092f881fd603
20+
21+ - name : Install dependencies
22+ run : dart pub get
23+
24+ - name : Generate bindings
25+ run : |
26+ chmod +x ./gen_bin.sh
27+ ./gen_bin.sh
28+ shell : bash
29+
30+ - uses : stefanzweifel/git-auto-commit-action@v5
31+ with :
32+ commit_message : Generate libflatpak.dart bindings.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ # install libflatpak
4+ sudo apt-get install gir1.2-flatpak-1.0
5+ sudo apt-get install libflatpak-dev
6+
7+ # install glib-2.0
8+ sudo apt-get install libglib2.0-dev
9+
10+ # run ffigen
11+ dart run ffigen --compiler-opts " -isystem /usr/lib/clang/10/include/ -isystem /usr/include -I/usr/include/glib-2.0/ -I/usr/lib/x86_64-linux-gnu/glib-2.0/include/ -I/usr/include/flatpak/"
You can’t perform that action at this time.
0 commit comments