From c7d6d793cbea7a21530e4de446d1e77fab0b7acf Mon Sep 17 00:00:00 2001 From: ToruNiina Date: Fri, 2 Apr 2021 16:55:52 +0900 Subject: [PATCH] ci: install compiler --- .github/workflows/main.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c66ad87..5a9a0b0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,11 +26,9 @@ jobs: sudo apt-add-repository ppa:mhier/libboost-latest sudo apt-get update sudo apt-get install boost1.70 - if [[ "${{ matrix.compiler }}" == "g++-6" || "${{ matrix.compiler }}" == "g++-5" ]] ; then - sudo apt-add-repository ppa:ubuntu-toolchain-r/test - sudo apt-get update - sudo apt-get install ${{ matrix.compiler }} - fi + sudo apt-add-repository ppa:ubuntu-toolchain-r/test + sudo apt-get update + sudo apt-get install ${{ matrix.compiler }} - name: Configure run: | mkdir build && cd build @@ -70,11 +68,9 @@ jobs: sudo apt-add-repository ppa:mhier/libboost-latest sudo apt-get update sudo apt-get install boost1.70 - if [[ "${{ matrix.compiler }}" != "6" && "${{ matrix.compiler }}" != "8" && "${{ matrix.compiler }}" != "9" ]] ; then - sudo apt-add-repository ppa:ubuntu-toolchain-r/test - sudo apt-get update - sudo apt-get install clang-${{ matrix.compiler }} - fi + sudo apt-add-repository ppa:ubuntu-toolchain-r/test + sudo apt-get update + sudo apt-get install clang-${{ matrix.compiler }} - name: Configure run: | mkdir build && cd build