Browse Source

change gh-action to gcc12

Laserlicht 1 year ago
parent
commit
ec9a2b0478
1 changed files with 2 additions and 2 deletions
  1. 2 2
      .github/workflows/github.yml

+ 2 - 2
.github/workflows/github.yml

@@ -201,8 +201,8 @@ jobs:
 
     - name: Configure
       run: |
-        if [[ ${{matrix.preset}} == linux-gcc-test ]]; then GCC13=1; fi
-        cmake -DENABLE_CCACHE:BOOL=ON --preset ${{ matrix.preset }} ${GCC13:+-DCMAKE_C_COMPILER=gcc-13 -DCMAKE_CXX_COMPILER=g++-13}
+        if [[ ${{matrix.preset}} == linux-gcc-test ]]; then GCC12=1; fi
+        cmake -DENABLE_CCACHE:BOOL=ON --preset ${{ matrix.preset }} ${GCC12:+-DCMAKE_C_COMPILER=gcc-12 -DCMAKE_CXX_COMPILER=g++-12}
 
     - name: Build
       run: |