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.
This commit is contained in:
Andrey Semashev
2021-07-02 16:15:59 +03:00
parent 03c5481dd4
commit bc508f8b4c

View File

@ -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: |