From 4951c38357737d568b554402bc5b6abe88a38fe1 Mon Sep 17 00:00:00 2001 From: Teemu Ollakka Date: Tue, 4 Apr 2023 13:28:47 +0300 Subject: [PATCH] Github Actions has removed ubuntu-18.04 Replace ubuntu-18.04 virtual environment with ubuntu-20.04. Compilation tests for GCC < 7 cannot be done anymore since ubuntu-20.04 environment does not provide such an old compilers. --- .github/workflows/build.yml | 36 ++++++------------------------------ 1 file changed, 6 insertions(+), 30 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7306018..6bd95fc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,43 +13,19 @@ jobs: matrix: config: # GCC/G++ - - os: ubuntu-18.04 - CC: gcc - version: "4.8" - type: Debug - - os: ubuntu-18.04 - CC: gcc - version: "4.8" - type: Release - - os: ubuntu-18.04 - CC: gcc - version: "5" - type: Debug - - os: ubuntu-18.04 - CC: gcc - version: "5" - type: Release - - os: ubuntu-18.04 - CC: gcc - version: "6" - type: Debug - - os: ubuntu-18.04 - CC: gcc - version: "6" - type: Release - - os: ubuntu-18.04 + - os: ubuntu-20.04 CC: gcc version: "7" type: Debug - - os: ubuntu-18.04 + - os: ubuntu-20.04 CC: gcc version: "7" type: Release - - os: ubuntu-18.04 + - os: ubuntu-20.04 CC: gcc version: "8" type: Debug - - os: ubuntu-18.04 + - os: ubuntu-20.04 CC: gcc version: "8" type: Release @@ -86,11 +62,11 @@ jobs: version: "12" type: Release # Clang - - os: ubuntu-18.04 + - os: ubuntu-20.04 CC: clang version: "6.0" type: Debug - - os: ubuntu-18.04 + - os: ubuntu-20.04 CC: clang version: "6.0" type: Release