Skip to content

Commit

Permalink
remove ccache
Browse files Browse the repository at this point in the history
  • Loading branch information
injae committed Dec 31, 2023
1 parent f4884d5 commit 8e83276
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 20 deletions.
24 changes: 8 additions & 16 deletions .github/workflows/code-cov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,14 @@ jobs:
strategy:
matrix:
build-type: ["Debug"]
llvm-version: ["9"]
clang-version:
["8", "9", "10", "11", "12", "13", "14", "15-bullseye", "latest"]
container: silkeh/clang:${{ matrix.clang-version }}
steps:
- name: ccache
uses: hendrikmuhs/ccache-action@v1
- name: C++ Setting
run: |
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
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
- name: Compiler Setting
run: |
echo "CC=clang-${{matrix.llvm-version}}" >> $GITHUB_ENV
echo "CXX=clang++-${{matrix.llvm-version}}" >> $GITHUB_ENV
- name: Get latest CMake
uses: lukka/[email protected]
- name: Clone Repository
uses: actions/checkout@master
uses: actions/checkout@v3
with:
submodules: true
- name: CMake build
Expand All @@ -41,8 +33,8 @@ jobs:
run: |
cd build/${{matrix.build-type}}
./unittest
llvm-profdata-${{matrix.llvm-version}} merge -sparse default.profraw -o default.profdata
llvm-cov-${{matrix.llvm-version}} export ./unittest --instr-profile default.profdata -format=lcov >> lcov.info
llvm-profdata-${{matrix.clang-version}} merge -sparse default.profraw -o default.profdata
llvm-cov-${{matrix.clang-version}} export ./unittest --instr-profile default.profdata -format=lcov >> lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ jobs:
gcc-version: ["11", "12", "latest"]
container: gcc:${{ matrix.gcc-version }}
steps:
- name: ccache
uses: hendrikmuhs/ccache-action@v1
- name: Get latest CMake and ninja
uses: lukka/[email protected]
- uses: actions/checkout@v3
Expand All @@ -45,8 +43,6 @@ jobs:
["8", "9", "10", "11", "12", "13", "14", "15-bullseye", "latest"]
container: silkeh/clang:${{ matrix.clang-version }}
steps:
- name: ccache
uses: hendrikmuhs/ccache-action@v1
- name: Get latest CMake
uses: lukka/[email protected]
- name: Clone Repository
Expand Down

0 comments on commit 8e83276

Please sign in to comment.