Skip to content

Merge branch 'main' of github.com:ada-url/ada #1144

Merge branch 'main' of github.com:ada-url/ada

Merge branch 'main' of github.com:ada-url/ada #1144

Workflow file for this run

name: Ubuntu 20.04
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- '**.md'
- 'docs/**'
push:
branches:
- main
paths-ignore:
- '**.md'
- 'docs/**'
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ubuntu-build:
runs-on: ubuntu-20.04
strategy:
matrix:
shared: [ON, OFF]
cxx: [g++-9, clang++-10]
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Setup Ninja
run: sudo apt-get install ninja-build
- name: Prepare
run: cmake -DBUILD_SHARED_LIBS=${{matrix.shared}} -G Ninja -B build
env:
CXX: ${{matrix.cxx}}
- name: Build
run: cmake --build build -j=2
- name: Test
run: ctest --output-on-failure --test-dir build