Skip to content

clang on linux test suite #43

clang on linux test suite

clang on linux test suite #43

name: clang on linux test suite
on:
pull_request:
types: [opened, reopened, synchronize]
merge_group:
types: [checks_requested]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: install latest cmake and Ninja
uses: lukka/get-cmake@latest
- name: install clang-latest
uses: egor-tensin/setup-clang@v2
with:
version: latest
platform: x64
- name: test
run: |
cmake -G Ninja -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=clangxx
cmake --build build -j 6 --target tests/all
ctest --test-dir build --output-on-failure
echo "done testing"