Skip to content

Commit 6e244d4

Browse files
authored
Merge pull request #162 from dimkr/master
Also build on focal and noble in build.yml
2 parents 967cc40 + 59323ae commit 6e244d4

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

.github/workflows/build.yml

+13-7
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,20 @@ on: [push, pull_request]
55
jobs:
66
build:
77
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
815
steps:
916
- name: Checkout code
1017
uses: actions/checkout@v4
1118
- name: Install dependencies
1219
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
1622
- name: Copy source
1723
run: |
1824
cp -r `pwd` ../gtk3-meson
@@ -32,10 +38,10 @@ jobs:
3238
- name: Autotools build
3339
run: |
3440
cd ../gtk2-autotools
35-
./autogen.sh
41+
./autogen.sh --prefix=/usr
3642
make -j`nproc`
37-
sudo DESTDIR=/tmp/autotools-gtk2 make install
43+
DESTDIR=/tmp/autotools-gtk2 make install
3844
cd ../gtk3-autotools
39-
./autogen.sh --enable-gtk3
45+
./autogen.sh --prefix=/usr --enable-gtk3
4046
make -j`nproc`
41-
sudo DESTDIR=/tmp/autotools-gtk3 make install
47+
DESTDIR=/tmp/autotools-gtk3 make install

0 commit comments

Comments
 (0)