From 6d52ee7318f36f99d6581bcc4141e3b7fde4fff5 Mon Sep 17 00:00:00 2001 From: sabudilovskiy Date: Wed, 2 Oct 2024 17:33:00 +0000 Subject: [PATCH] - --- .github/workflows/CI_ubuntu.yaml | 1 + .github/workflows/format.yaml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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