[snippy] Remove duplicated tests #128 #6
Workflow file for this run
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: Snippy pre-commit and post-push | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- name: Install required compiler to be sure | |
run: sudo apt-get install clang-14 ninja-build ccache lld | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: CMake release config | |
run: cmake -S llvm -B release/build -G Ninja -DCMAKE_C_COMPILER=clang-14 -DCMAKE_CXX_COMPILER=clang++-14 -C .syntacore/release.cmake | |
- name: CMake release build | |
run: cmake --build release/build --target llvm-snippy | |
- name: CMake release test | |
run: env CTEST_OUTPUT_ON_FAILURE=1 cmake --build release/build --target check-llvm-tools-llvm-snippy |