aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAdam <adammegarules1@gmail.com>2026-07-26 16:04:06 +0200
committerAdam <adammegarules1@gmail.com>2026-07-26 16:04:06 +0200
commitde369006392e6e8fa2089e3cf68ce9fcbf07963d (patch)
tree6b534c909fba0e24e8c3c757b0fbc51811239356 /.github
parent75e2d3df4e334803fc6bba3e879389f57617b667 (diff)
trying to support morern print
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/cmake-single-platform.yml30
1 files changed, 19 insertions, 11 deletions
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