Skip to content

Commit

Permalink
aligned readme to use the new env script name + aligned the test work…
Browse files Browse the repository at this point in the history
…flow
  • Loading branch information
SpectraL519 committed Mar 12, 2024
1 parent bd07dd4 commit aea4752
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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=g++-11
continue-on-error: false

- name: Build test executable
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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.
<br />
<br />
Expand Down

0 comments on commit aea4752

Please sign in to comment.