From bc508f8b4c30ca1f0aa53bdbe6c42278ddddb527 Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Fri, 2 Jul 2021 16:15:59 +0300 Subject: [PATCH] Remove gcc-10 for clang-8 testing. This is another attempt to make clang-8 tests not fail in C++20 mode. Remove gcc-10 and libstdc++-10 to prevent clang using it. Also, use apt-get instead of apt since the former is recommended to use in scripts. This should silence apt warnings. --- .github/workflows/ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d6898f0..79390e3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -102,6 +102,7 @@ jobs: compiler: clang++-8 cxxstd: "03,11,14,17,2a" os: ubuntu-18.04 + purge: gcc-10 g++-10 libstdc++-10-dev install: clang-8 - toolset: clang compiler: clang++-9 @@ -129,9 +130,15 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Purge packages + if: matrix.purge + run: sudo apt-get purge ${{matrix.purge}} + - name: Install packages if: matrix.install - run: sudo apt install ${{matrix.install}} + run: | + sudo apt-get update + sudo apt-get install ${{matrix.install}} - name: Setup Boost run: |