Skip to content

Commit

Permalink
Add unit tests on Clang to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthieuHernandez committed Nov 3, 2024
1 parent 37a5c8d commit b970723
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .github/workflows/unit_tests_clang_linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Unit tests Clang Linux

on: [push]

jobs:
unit-tests:
name: Build and run
runs-on: ubuntu-latest

steps:
- name: Set up Clang
uses: egor-tensin/setup-clang@v1
with:
version: 19
platform: x64
- name: Checkout the project
uses: actions/checkout@v2
- name: CMake
run: |
cd ./build
CXX=/usr/bin/g++-13 cmake -G"Unix Makefiles" ./.. -DCMAKE_BUILD_TYPE=Release
- name: Make
run: |
cd ./build
make
- name: Execute unit tests
run: |
cd ./build
./tests/unit_tests/UnitTests --gtest_also_run_disabled_tests
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Unit tests Linux
name: Unit tests GCC Linux

on: [push]

Expand Down

0 comments on commit b970723

Please sign in to comment.