14
14
fail-fast : true
15
15
matrix :
16
16
os :
17
- - ubuntu-latest
17
+ - self-hosted
18
18
# - windows-latest
19
19
# - macos-latest
20
20
23
23
with :
24
24
fetch-depth : 0
25
25
26
- - name : Install Qt
27
- uses : jurplel/install-qt-action@v3
28
- with :
29
- version : 6.7.3
30
- cache : true
31
-
32
26
- name : Install ninja-build tool (must be after Qt due PATH changes)
33
27
if : ${{ runner.os == 'Windows' }}
34
28
uses : turtlesec-no/get-ninja@main
@@ -37,46 +31,23 @@ jobs:
37
31
if : ${{ runner.os == 'Windows' }}
38
32
uses : ilammy/msvc-dev-cmd@v1
39
33
40
- - name : Install dependencies on Ubuntu
41
- if : ${{ runner.os == 'Linux' }}
42
- run : |
43
- sudo apt update -qq
44
- sudo apt install libgtk-3-dev libglib2.0-dev ninja-build lld xvfb -y
45
-
46
- - uses : subosito/flutter-action@v2
47
- with :
48
- flutter-version : ' 3.24.0'
49
- channel : ' stable'
50
-
51
34
- name : Checkout qt-embedder
52
35
uses : actions/checkout@v4
53
36
54
37
- name : Create folder structure
55
38
run : |
56
39
mkdir -p 3rdparty/out/host_debug_unopt/
57
40
58
- - name : Checkout flutter engine
59
- uses : actions/checkout@v4
60
- with :
61
- repository : iamsergio/engine.git
62
- ref : wip/multiwindow
63
- path : 3rdparty/flutter/
64
-
65
41
- name : debug
66
42
run : |
67
43
flutter --version
44
+ dart --version
68
45
which flutter
69
46
which dart
70
-
71
- - name : Fix embedder header
72
- run : cp 3rdparty/flutter/shell/platform/embedder/embedder.h 3rdparty/flutter/shell/platform/embedder/flutter_embedder.h
73
-
74
- - name : Download engine binary
75
- run : |
76
- ./download_engine.sh
77
- cp libflutter_engine.so 3rdparty/out/host_debug_unopt/
47
+ ls $FLUTTER_ENGINE_FOLDER
48
+ echo "WORKSPACE: ${{ github.workspace }}"
78
49
env :
79
- GH_TOKEN : ${{ github.token }}
50
+ FLUTTER_ENGINE_FOLDER : ${{ github.workspace }}/3rdparty/flutter/
80
51
81
52
- name : Configure project
82
53
run : cmake -S . -B ./build-dev --preset dev
88
59
env :
89
60
FLUTTER_ENGINE_FOLDER : ${{ github.workspace }}/3rdparty/flutter/
90
61
91
- # - name: Build example
92
- # run: |
93
- # ./build_example.sh
94
- # env:
95
- # FLUTTER_ENGINE_FOLDER: ${{ github.workspace }}/3rdparty/flutter/
62
+ - name : Build example
63
+ run : |
64
+ ./build_example.sh
65
+ env :
66
+ FLUTTER_ENGINE_FOLDER : ${{ github.workspace }}/3rdparty/flutter/
0 commit comments