diff --git a/.github/workflows/CI_ubuntu.yaml b/.github/workflows/CI_ubuntu.yaml index 3b5a3995..4d14d4fb 100644 --- a/.github/workflows/CI_ubuntu.yaml +++ b/.github/workflows/CI_ubuntu.yaml @@ -89,6 +89,7 @@ jobs: -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DTGBM_ENABLE_TESTS=ON -DCMAKE_LINKER_TYPE=LLD + -DCMAKE_CXX_STANDARD=20 - name: Build project run: > diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml index 89739168..6b820175 100644 --- a/.github/workflows/format.yaml +++ b/.github/workflows/format.yaml @@ -31,13 +31,13 @@ jobs: run: | sudo apt install clang-format-17 - name: Format - run: ^ + run: > sudo make -f scripts/ci_ubuntu.make format - name: Check if all files are committed to git - run: ^ + run: > sudo make -f scripts/ci_ubuntu.make check-git-status