[pull] master from rockdaboot:master #2
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: 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 |