From 8ab3af398707ba2e709a2d678cf5e6d9703dd47e Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Sun, 27 Dec 2020 11:52:02 +0100 Subject: [PATCH] ci: GCC 10.1.0 magically dissapeared from the GitHub actions build The last time I saw GCC 10.1.0 was here: https://github.com/mpusz/units/runs/1602533362?check_suite_focus=true#step:7:231. The following builds (i.e. https://github.com/mpusz/units/runs/1602670143?check_suite_focus=true#step:7:231) were using GCC 10.2.0 and I was not able to revert the behavior to have GCC 10.1.0 on board again. --- .github/workflows/ci-conan.yml | 26 ++++++++------------------ 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/.github/workflows/ci-conan.yml b/.github/workflows/ci-conan.yml index 0cafd107..808923ca 100644 --- a/.github/workflows/ci-conan.yml +++ b/.github/workflows/ci-conan.yml @@ -44,30 +44,20 @@ jobs: compiler: { type: VISUAL, version: 16, cc: "cl", cxx: "cl" } } - { - name: "Ubuntu GCC 10.1.0", + name: "Ubuntu GCC 10.2.0", os: ubuntu-20.04, compiler: { type: GCC, version: 10, cc: "gcc-10", cxx: "g++-10" } } - - { - name: "Ubuntu GCC 10.2.0", - os: ubuntu-20.04, - compiler: { type: GCC, version: 10, cc: "gcc-10", cxx: "g++-10" }, - docker_image: conanio/gcc10 - } + # In case a Conan docker image will be needed to provide a specific configuration we can use a Docker image as follows + # - { + # name: "Ubuntu GCC 10.2.0", + # os: ubuntu-20.04, + # compiler: { type: GCC, version: 10, cc: "gcc-10", cxx: "g++-10" }, + # docker_image: conanio/gcc10 + # } build_type: [ "Release", "Debug" ] steps: - uses: actions/checkout@v2 - # - name: Cache Conan data - # uses: actions/cache@v2 - # env: - # cache-name: cache-conan-data - # with: - # path: ~/.conan/data - # key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/metadata.json') }} - # restore-keys: | - # ${{ runner.os }}-build-${{ env.cache-name }}- - # ${{ runner.os }}-build- - # ${{ runner.os }}- - name: Install Ninja # TODO Find a proper syntax to make the below work # if: !matrix.config.docker_image