Skip to content

Improve portability #23

Improve portability

Improve portability #23

Workflow file for this run

name: libpsl
on:
push:
branches: [main]
pull_request:
branches: ["**"]
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
fail-fast: true
max-parallel: 3
matrix:
runtime: ["libidn", "libidn2", "libicu"]
steps:
- name: Check out
uses: actions/checkout@v4
- name: Install dependencies
run: sudo apt-get install -y autopoint autoconf automake gtk-doc-tools libidn2-dev libunistring-dev libicu-dev libidn-dev
- name: Test with ${{matrix.runtime}}
run: |
./autogen.sh
CFLAGS="-O0 -Wall -Wextra" ./configure --enable-runtime=${{matrix.runtime}}
make check
meson-test:
name: Meson Test
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
max-parallel: 3
matrix:
os: ['ubuntu-latest', 'windows-latest', 'macos-latest']
steps:
- name: Check out
uses: actions/checkout@v4
with:
submodules: true
- name: Install dependencies
run: pip install --pre meson ninja
- name: Configure
run: meson setup builddir
- name: Build
run: ninja -C builddir
- name: Test
run: meson test -C builddir --print-errorlogs