Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Also build on focal and noble in build.yml #162

Merged
merged 1 commit into from
Apr 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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