diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 6931fb45f..ee2fbb665 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -32,25 +32,25 @@ jobs: fail-fast: false matrix: - os: [ubuntu-latest] + os: [ubuntu-22.04] compiler: [gcc, clang] cuda: [with, without] openmp: [with] link: [both] include: - - os: ubuntu-latest + - os: ubuntu-22.04 compiler: gcc compiler-pkgs: "g++ gcc" cc: "gcc" cxx: "g++" ccache-max: 600M - - os: ubuntu-latest + - os: ubuntu-22.04 compiler: clang compiler-pkgs: "clang libomp-dev" cc: "clang" cxx: "clang++" ccache-max: 500M - - os: ubuntu-latest + - os: ubuntu-22.04 cuda: with cuda-pkgs: "nvidia-cuda-dev nvidia-cuda-toolkit" cuda-cmake-flags: @@ -58,7 +58,7 @@ jobs: -DSUITESPARSE_USE_STRICT=ON -DCUDAToolkit_INCLUDE_DIRS="/usr/include" -DCMAKE_CUDA_COMPILER_LAUNCHER="ccache" - - os: ubuntu-latest + - os: ubuntu-22.04 compiler: gcc compiler-pkgs: "g++ gcc" cc: "gcc" @@ -67,7 +67,7 @@ jobs: cuda: without openmp: without openmp-cmake-flags: "-DSUITESPARSE_USE_OPENMP=OFF" - - os: ubuntu-latest + - os: ubuntu-22.04 compiler: gcc compiler-pkgs: "g++ gcc" cc: "gcc" diff --git a/.github/workflows/root-cmakelists.yaml b/.github/workflows/root-cmakelists.yaml index 4296f6e26..103882537 100644 --- a/.github/workflows/root-cmakelists.yaml +++ b/.github/workflows/root-cmakelists.yaml @@ -21,7 +21,7 @@ jobs: ubuntu: # For available GitHub-hosted runners, see: # https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 name: ubuntu (${{ matrix.compiler }} ${{ matrix.cuda }} CUDA, ${{ matrix.link }})