Skip to content

Commit

Permalink
Merge pull request #162 from dimkr/master
Browse files Browse the repository at this point in the history
Also build on focal and noble in build.yml
  • Loading branch information
peabee committed Apr 20, 2024
2 parents 967cc40 + 59323ae commit 6e244d4
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,20 @@ on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
image: ["ubuntu:noble", "ubuntu:jammy", "ubuntu:focal"]
container:
image: ${{ matrix.image }}
env:
DEBIAN_FRONTEND: noninteractive
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update -qq
sudo apt-get install -y --no-install-recommends libgtk2.0-dev libgtk-3-dev libvte-dev libvte-2.91-dev libgtk-layer-shell-dev
python3 -m pip install meson ninja
apt-get update -qq
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
- name: Copy source
run: |
cp -r `pwd` ../gtk3-meson
Expand All @@ -32,10 +38,10 @@ jobs:
- name: Autotools build
run: |
cd ../gtk2-autotools
./autogen.sh
./autogen.sh --prefix=/usr
make -j`nproc`
sudo DESTDIR=/tmp/autotools-gtk2 make install
DESTDIR=/tmp/autotools-gtk2 make install
cd ../gtk3-autotools
./autogen.sh --enable-gtk3
./autogen.sh --prefix=/usr --enable-gtk3
make -j`nproc`
sudo DESTDIR=/tmp/autotools-gtk3 make install
DESTDIR=/tmp/autotools-gtk3 make install

0 comments on commit 6e244d4

Please sign in to comment.