File tree 1 file changed +13
-7
lines changed
1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -5,14 +5,20 @@ on: [push, pull_request]
5
5
jobs :
6
6
build :
7
7
runs-on : ubuntu-latest
8
+ strategy :
9
+ matrix :
10
+ image : ["ubuntu:noble", "ubuntu:jammy", "ubuntu:focal"]
11
+ container :
12
+ image : ${{ matrix.image }}
13
+ env :
14
+ DEBIAN_FRONTEND : noninteractive
8
15
steps :
9
16
- name : Checkout code
10
17
uses : actions/checkout@v4
11
18
- name : Install dependencies
12
19
run : |
13
- sudo apt-get update -qq
14
- sudo apt-get install -y --no-install-recommends libgtk2.0-dev libgtk-3-dev libvte-dev libvte-2.91-dev libgtk-layer-shell-dev
15
- python3 -m pip install meson ninja
20
+ apt-get update -qq
21
+ apt-get install -y --no-install-recommends libgtk2.0-dev libgtk-3-dev libvte-dev libvte-2.91-dev libgtk-layer-shell-dev gcc pkg-config bison flex meson autoconf automake make texinfo
16
22
- name : Copy source
17
23
run : |
18
24
cp -r `pwd` ../gtk3-meson
@@ -32,10 +38,10 @@ jobs:
32
38
- name : Autotools build
33
39
run : |
34
40
cd ../gtk2-autotools
35
- ./autogen.sh
41
+ ./autogen.sh --prefix=/usr
36
42
make -j`nproc`
37
- sudo DESTDIR=/tmp/autotools-gtk2 make install
43
+ DESTDIR=/tmp/autotools-gtk2 make install
38
44
cd ../gtk3-autotools
39
- ./autogen.sh --enable-gtk3
45
+ ./autogen.sh --prefix=/usr -- enable-gtk3
40
46
make -j`nproc`
41
- sudo DESTDIR=/tmp/autotools-gtk3 make install
47
+ DESTDIR=/tmp/autotools-gtk3 make install
You can’t perform that action at this time.
0 commit comments