diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 8532e7a..d783596 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -17,9 +17,12 @@ jobs: uses: actions/checkout@v2 - name: Prepare + env: + CC: gcc-11 + CXX: g++-11 run: | cd test - cmake -B build -DCMAKE_CXX_COMPILER=g++-11 + cmake -B build -DCMAKE_CXX_COMPILER=g++-11 -DCMAKE_C_COMPILER=gcc-11 continue-on-error: false - name: Build test executable diff --git a/README.md b/README.md index 308b287..43a7b65 100644 --- a/README.md +++ b/README.md @@ -485,7 +485,7 @@ Run the tests: > **NOTE:** The project uses `clang-format-17`. > -> To install this tool on ubuntu run `sudo bash ./scripts/env/install_clang_format_17.sh`. +> To install this tool on ubuntu run `sudo bash ./scripts/env/install_clang_17_toolchain.sh`. > > On windows you can download the LLVM package from the official LLVM [GitHub release page](https://github.com/llvm/llvm-project/releases/tag/llvmorg-17.0.1) @@ -527,6 +527,8 @@ The documentation for this project can be generated using Doxygen: As of now the project supports the **GNU G++** and **Clang++** compilers with `C++20` support on Linux and Windows. +> **NOTE:** To build the project using clang you will need to install the `clang-17` toolchain using the script or website mentioned in the [Formatting](#formatting) section. +