diff --git a/.github/workflows/unit_tests_clang_linux.yml b/.github/workflows/unit_tests_clang_linux.yml new file mode 100644 index 00000000..b13c499a --- /dev/null +++ b/.github/workflows/unit_tests_clang_linux.yml @@ -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 \ No newline at end of file diff --git a/.github/workflows/unit_tests_linux.yml b/.github/workflows/unit_tests_gcc_linux.yml similarity index 95% rename from .github/workflows/unit_tests_linux.yml rename to .github/workflows/unit_tests_gcc_linux.yml index 4cb4ed2d..bfd5f6d0 100644 --- a/.github/workflows/unit_tests_linux.yml +++ b/.github/workflows/unit_tests_gcc_linux.yml @@ -1,4 +1,4 @@ -name: Unit tests Linux +name: Unit tests GCC Linux on: [push]