From 2eeb05f7b61015b73faa7c331870ddc01c831ae3 Mon Sep 17 00:00:00 2001 From: John Freeman Date: Mon, 17 Jun 2024 19:13:26 -0500 Subject: [PATCH] Check GCC version --- .github/workflows/cupcake.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/cupcake.yml b/.github/workflows/cupcake.yml index 50a8ef5..35c01e8 100644 --- a/.github/workflows/cupcake.yml +++ b/.github/workflows/cupcake.yml @@ -111,9 +111,16 @@ jobs: - name: install Ninja on macOS if: matrix.generator == 'Ninja' && startsWith(matrix.platform, 'macos') run: brew install ninja + - name: install GCC on Linux + if: matrix.compiler == 'gcc' && startsWith(matrix.platform, 'ubuntu') + run: sudo apt install gcc-13 - name: install GCC on macOS if: matrix.compiler == 'gcc' && startsWith(matrix.platform, 'macos') run: brew install gcc@13 + - name: check compiler + run: | + ${{ matrix.profile.cc }} --version + ${{ matrix.profile.cxx }} --version - name: checkout uses: actions/checkout@v4 - name: install Conan