From 41aa3cf03566619e17524845729476e3025728ff Mon Sep 17 00:00:00 2001 From: Jose Plaud Date: Thu, 8 Aug 2024 10:30:42 -0400 Subject: [PATCH] change compiler from gxx to gcc --- .github/workflows/main.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ecb09d4..79abf96 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,12 +26,13 @@ jobs: run: | sudo apt-get update if [ "${{ matrix.compiler.name }}" == "gnu" ]; then - sudo apt-get install -y g++-${{ matrix.compiler.version }} - export CXX=g++-${{ matrix.compiler.version }} + sudo apt-get install -y gcc-${{ matrix.compiler.version }} g++-${{ matrix.compiler.version }} + export CC=gcc-${{ matrix.compiler.version }} elif [ "${{ matrix.compiler.name }}" == "clang" ]; then sudo apt-get install -y clang-${{ matrix.compiler.version }} - export CXX=clang++-${{ matrix.compiler.version }} + export CC=clang-${{ matrix.compiler.version }} fi - name: make check - run: make check + run: + make check