Skip to content

Move tests to 'tests' subdirectory per [DIRECTORY.TESTS] #162

Move tests to 'tests' subdirectory per [DIRECTORY.TESTS]

Move tests to 'tests' subdirectory per [DIRECTORY.TESTS] #162

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
gcc-linux:
runs-on: ubuntu-latest
container:
image: ghcr.io/ednolan/ubuntu24.10_gcc14.2.0
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Run
run: |
./ci.sh -DCMAKE_CXX_FLAGS='-fsanitize=address -fsanitize=undefined -fsanitize-undefined-trap-on-error -coverage' -DUTF_VIEW_BUILD_PAPER=ON
- name: Coverage
run: |
lcov --directory ./build --capture --output-file ./build/coverage_all.info
lcov --remove ./build/coverage_all.info -o ./build/coverage.info '/usr/include/*' "$PWD/src/utf_view/tests/*"
- name: Coveralls
uses: coverallsapp/github-action@master
with:
path-to-lcov: ${{runner.workspace}}/utf_view/build/coverage.info
github-token: ${{ secrets.GITHUB_TOKEN }}
clang-linux:
runs-on: ubuntu-latest
container:
image: ghcr.io/ednolan/ubuntu24.10_clang19.1.0rc3
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Run
run: |
./ci.sh -DCMAKE_CXX_FLAGS='-fsanitize=address -fsanitize=undefined -fsanitize-undefined-trap-on-error -stdlib=libc++'
msvc-windows:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Run
shell: bash
run: |
./ci.sh