From af454f5fa581f91b262543e3c84dc6bdb6af63c1 Mon Sep 17 00:00:00 2001 From: Martin Bond <28291143+martinbond7@users.noreply.github.com> Date: Thu, 14 Dec 2023 15:32:28 +0000 Subject: [PATCH] Updated build action to use C++23 --- .github/workflows/build-host.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-host.yaml b/.github/workflows/build-host.yaml index 767abd3..470ae5a 100644 --- a/.github/workflows/build-host.yaml +++ b/.github/workflows/build-host.yaml @@ -18,11 +18,11 @@ jobs: - name: build datalogger template run: | cp -r /home/feabhas/projects/cmake-host . + sed -i '/CMAKE_CXX_STANDARD 17/s/17/23/' cmake-host/CMakeLists.txt cp -r exercises/templates/datalogger/* cmake-host cd cmake-host - bash ./build.sh + bash ./build.sh - name: build solutions run: | - cp -r /home/feabhas/projects/cmake-host . cd cmake-host bash ./build-one.sh --all