Use GUri instead of libsoup-2.4 and use webkit2gtk-4.1 #70
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: "CI: Debian & Derivatives" | |
on: | |
- push | |
- pull_request | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
container: ${{ matrix.container }} | |
strategy: | |
fail-fast: false | |
matrix: | |
container: | |
- image: 'debian:stable' | |
env: | |
WEBKITGTK_VERSION: '4.0' | |
- image: 'debian:bullseye' | |
env: | |
WEBKITGTK_VERSION: '4.0' | |
- image: 'ubuntu:focal' | |
env: | |
WEBKITGTK_VERSION: '4.0' | |
- image: 'debian:sid' | |
env: | |
WEBKITGTK_VERSION: '4.1' | |
- image: 'ubuntu:devel' | |
env: | |
WEBKITGTK_VERSION: '4.1' | |
- image: 'ubuntu:noble' | |
env: | |
WEBKITGTK_VERSION: '4.1' | |
timeout-minutes: 15 | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v4 | |
- name: Install build dependencies | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
run: | | |
echo 'APT::Install-Recommends "false";' > /etc/apt/apt.conf.d/80-no-recommends | |
apt-get update | |
apt-get -y upgrade | |
apt-get -y install \ | |
cmake \ | |
cmark \ | |
gnupg \ | |
libboost-date-time-dev \ | |
libboost-filesystem-dev \ | |
libboost-log-dev \ | |
libboost-program-options-dev \ | |
libboost-system-dev \ | |
libboost-test-dev \ | |
libboost-thread-dev \ | |
libgirepository1.0-dev \ | |
libglibmm-2.4-dev \ | |
libgmime-3.0-dev \ | |
libgtkmm-3.0-dev \ | |
libnotmuch-dev \ | |
libpeas-dev \ | |
libprotobuf-dev \ | |
libsass-dev \ | |
libsoup2.4-dev \ | |
libvte-2.91-dev \ | |
libwebkit2gtk-${WEBKITGTK_VERSION}-dev \ | |
ninja-build \ | |
notmuch \ | |
pkg-config \ | |
protobuf-compiler \ | |
python3-gi \ | |
w3m \ | |
xauth \ | |
xvfb | |
# Older releases don't have scdoc, but should have ronn | |
apt-get -y install scdoc || apt-get -y install ruby-ronn | |
- name: "CMake: Configure" | |
run: cmake -H. -Bbuild -GNinja | |
- name: "CMake: Build" | |
run: cmake --build build | |
- name: Run Tests | |
env: | |
HOME: /tmp/home | |
LC_ALL: C.UTF-8 | |
run: | | |
mkdir -p $HOME | |
cd build | |
xvfb-run ctest --output-on-failure |