From de369006392e6e8fa2089e3cf68ce9fcbf07963d Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 26 Jul 2026 16:04:06 +0200 Subject: trying to support morern print --- .github/workflows/cmake-single-platform.yml | 30 ++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) (limited to '.github/workflows/cmake-single-platform.yml') diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index 10c3a98..c02bed4 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -4,9 +4,9 @@ name: CMake on a single platform on: push: - branches: [ "main" ] + branches: ["main"] pull_request: - branches: [ "main" ] + branches: ["main"] env: # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) @@ -20,13 +20,21 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4 - - name: Configure CMake - # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. - # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type - run: cmake -B ${{github.workspace}}/build -S . - - - name: Build - # Build your program with the given configuration - run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} + - name: Install GCC 14 + run: | + sudo apt update + sudo apt install -y gcc-14 g++-14 + + - name: Configure CMake + env: + CC: gcc-14 + CXX: g++-14 + run: cmake -B build -S . + + - name: Build + env: + CC: gcc-14 + CXX: g++-14 + run: cmake --build build -- cgit v1.2.3