Skip to content

Apply a bunch of suggested fixes #22

Apply a bunch of suggested fixes

Apply a bunch of suggested fixes #22

name: Linux Clang with pkgx
on: [push, pull_request, workflow_dispatch]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: true
- name: Setup
run: |
sudo apt update
sudo apt-get install build-essential automake autoconf autoconf-archive texinfo libtool-bin yasm ninja-build ccache
- name: Setup Clang
uses: pkgxdev/setup@v1
with:
+: clang@17
- run: clang --version
- name: Restore artifacts or setup vcpkg
uses: lukka/run-vcpkg@v11
with:
vcpkgGitCommitId: 23ceb9cbf9b6d32f485cf039547b70102a6ef9d8
- name: Configure
run: cmake --preset=build
- name: Build
run: cmake --build build -j 2
- name: Test
working-directory: build
continue-on-error: true
run: ctest --rerun-failed --output-on-failure -j 2