From ecbf39a30060f34146671cf4340ad3f165930dd2 Mon Sep 17 00:00:00 2001 From: Eduard Valeyev Date: Wed, 25 Sep 2024 09:53:37 -0400 Subject: [PATCH] [ci] bump to ubuntu 22.04 --- .github/workflows/cmake.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 58452528..1dc9f750 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -10,12 +10,14 @@ jobs: fail-fast: false matrix: build_type : [ Release, Debug ] - os : [ macos-latest, ubuntu-20.04 ] + os : [ macos-latest, ubuntu-22.04 ] linalg : [netlib, vendor] include: - - os: ubuntu-20.04 - cxx: /usr/bin/g++-9 + - os: ubuntu-22.04 + cc: /usr/bin/gcc-12 + cxx: /usr/bin/g++-12 - os: macos-latest + cc: clang cxx: clang++ name: "${{ matrix.os }}: ${{ matrix.cxx }} ${{ matrix.build_type }} linalg=${{ matrix.linalg }}" @@ -109,7 +111,7 @@ jobs: # and build directories, but this is only available with CMake 3.13 and higher. # The CMake binaries on the Github Actions machines are (as of this writing) 3.12 run: | - cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBLAS_PREFERENCE_LIST=$BLAS_PREFERENCE_LIST $BUILD_CONFIG + cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBLAS_PREFERENCE_LIST=$BLAS_PREFERENCE_LIST $BUILD_CONFIG || (cat CMakeFiles/CMakeConfigureLog.yaml) - name: Build working-directory: ${{github.workspace}}/build