diff --git a/.github/workflows/code-cov.yml b/.github/workflows/code-cov.yml index 80c6a37..f15ccfa 100644 --- a/.github/workflows/code-cov.yml +++ b/.github/workflows/code-cov.yml @@ -14,14 +14,15 @@ jobs: steps: - name: ccache uses: hendrikmuhs/ccache-action@v1 - - name: C++ Setting + - name: Basic Setting run: | - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test - wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add - - sudo add-apt-repository -y "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-${{matrix.clang-version}} main" sudo apt-get update - sudo apt-get install -yq clang-${{matrix.clang-version}} libc++-dev libc++abi-dev libstdc++-${{matrix.clang-version}}-dev build-essential cmake - sudo apt-get install -yq libllvm${{matrix.clang-version}} llvm-${{matrix.clang-version}} llvm-${{matrix.clang-version}}-dev llvm-${{matrix.clang-version}}-runtime + sudo apt-get install -yq build-essential cmake + - name: Install LLVM + run: | + wget https://apt.llvm.org/llvm.sh + chmod +x ./llvm.sh + sudo ./llvm.sh ${{matrix.clang-version}} - name: Compiler Setting run: | echo "CC=clang-${{matrix.clang-version}}" >> $GITHUB_ENV diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 903512a..ce24aa6 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -48,13 +48,15 @@ jobs: steps: - name: ccache uses: hendrikmuhs/ccache-action@v1 - - name: C++ Setting + - name: Basic Setting run: | - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test - wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add - - sudo add-apt-repository -y "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-${{matrix.clang-version}} main" sudo apt-get update - sudo apt-get install -yq clang-${{matrix.clang-version}} libc++-dev libc++abi-dev libstdc++-${{matrix.clang-version}}-dev build-essential cmake + sudo apt-get install -yq build-essential cmake + - name: Install LLVM + run: | + wget https://apt.llvm.org/llvm.sh + chmod +x ./llvm.sh + sudo ./llvm.sh ${{matrix.clang-version}} - name: Compiler Setting run: | echo "CC=clang-${{matrix.clang-version}}" >> $GITHUB_ENV