2525 with :
2626 fetch-depth : 0
2727 submodules : recursive
28+ - name : Clone fltk
29+ uses : actions/checkout@v4
30+ with :
31+ repository : fltk/fltk
32+ path : fltk
33+ ref : 27d991f046bdebb12bfd58f7c05a19f135979c29
34+ fetch-depth : 1
2835 - name : Configure winehq
2936 run : |
3037 sudo dpkg --add-architecture i386
3744 run : |
3845 sudo apt-get update -y
3946 sudo apt-get install -y --no-install-recommends \
40- $(xargs < .github/workflows/deps-ubuntu-24.04-gcc.txt)
47+ $(xargs < .github/workflows/deps-ubuntu-24.04-gcc.txt)
4148 sudo apt-get install -y --install-recommends g++-multilib gcc-multilib winehq-stable wine-stable-dev
49+ sudo apt-get install -y --install-recommends \
50+ $(xargs < .github/workflows/deps-ubuntu-24.04-fltk.txt)
4251 - name : Cache ccache data
4352 uses : actions/cache@v3
4453 with :
4756 ccache-${{ github.job }}-${{ github.ref }}-
4857 ccache-${{ github.job }}-
4958 path : ~/.ccache
59+ - name : Configure fltk
60+ run : |
61+ cmake -S fltk -B fltk/build -DFLTK_BUILD_SHARED_LIBS=ON -DFLTK_BACKEND_WAYLAND=ON \
62+ -DFLTK_USE_LIBDECOR_GTK=OFF -DFLTK_BUILD_TEST=OFF -DFLTK_BUILD_GL=OFF
63+ - name : Install fltk
64+ run : |
65+ cmake --build fltk/build
66+ sudo cmake --install fltk/build --prefix /usr
5067 - name : Configure
5168 run : |
5269 ccache --zero-stats
@@ -98,11 +115,20 @@ jobs:
98115 with :
99116 fetch-depth : 0
100117 submodules : recursive
118+ - name : Clone fltk
119+ uses : actions/checkout@v4
120+ with :
121+ repository : fltk/fltk
122+ path : fltk
123+ ref : 27d991f046bdebb12bfd58f7c05a19f135979c29
124+ fetch-depth : 1
101125 - name : Install system packages
102126 run : |
103127 sudo apt-get update -y
104128 sudo apt-get install -y --no-install-recommends \
105129 $(xargs < .github/workflows/deps-ubuntu-24.04-gcc.txt)
130+ sudo apt-get install -y --install-recommends \
131+ $(xargs < .github/workflows/deps-ubuntu-24.04-fltk.txt)
106132 - name : Cache ccache data
107133 uses : actions/cache@v3
108134 with :
@@ -111,6 +137,14 @@ jobs:
111137 ccache-${{ github.job }}-${{ github.ref }}-
112138 ccache-${{ github.job }}-
113139 path : ~/.ccache
140+ - name : Configure fltk
141+ run : |
142+ cmake -S fltk -B fltk/build -DFLTK_BUILD_SHARED_LIBS=ON -DFLTK_BACKEND_WAYLAND=ON \
143+ -DFLTK_USE_LIBDECOR_GTK=OFF -DFLTK_BUILD_TEST=OFF -DFLTK_BUILD_GL=OFF
144+ - name : Install fltk
145+ run : |
146+ cmake --build fltk/build
147+ sudo cmake --install fltk/build --prefix /usr
114148 - name : Configure
115149 run : |
116150 ccache --zero-stats
0 commit comments