Skip to content

Commit

Permalink
change minimum llvm version 8 -> 9
Browse files Browse the repository at this point in the history
  • Loading branch information
injae committed Dec 31, 2023
1 parent 37296e0 commit d70219d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/code-cov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
build-type: ["Debug"]
clang-version: ["8"]
llvm-version: ["9"]
steps:
- name: ccache
uses: hendrikmuhs/ccache-action@v1
Expand All @@ -22,11 +22,11 @@ jobs:
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x ./llvm.sh
sudo ./llvm.sh ${{matrix.clang-version}}
sudo ./llvm.sh ${{matrix.llvm-version}}
- name: Compiler Setting
run: |
echo "CC=clang-${{matrix.clang-version}}" >> $GITHUB_ENV
echo "CXX=clang++-${{matrix.clang-version}}" >> $GITHUB_ENV
echo "CC=clang-${{matrix.llvm-version}}" >> $GITHUB_ENV
echo "CXX=clang++-${{matrix.llvm-version}}" >> $GITHUB_ENV
- name: Clone Repository
uses: actions/checkout@master
with:
Expand All @@ -40,8 +40,8 @@ jobs:
run: |
cd build/${{matrix.build-type}}
./unittest
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
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
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
strategy:
matrix:
build-type: ["Release", "Debug"]
clang-version: ["8"]
llvm-version: ["9"]
steps:
- name: ccache
uses: hendrikmuhs/ccache-action@v1
Expand All @@ -56,11 +56,11 @@ jobs:
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x ./llvm.sh
sudo ./llvm.sh ${{matrix.clang-version}}
sudo ./llvm.sh ${{matrix.llvm-version}}
- name: Compiler Setting
run: |
echo "CC=clang-${{matrix.clang-version}}" >> $GITHUB_ENV
echo "CXX=clang++-${{matrix.clang-version}}" >> $GITHUB_ENV
echo "CC=clang-${{matrix.llvm-version}}" >> $GITHUB_ENV
echo "CXX=clang++-${{matrix.llvm-version}}" >> $GITHUB_ENV
- name: Clone Repository
uses: actions/checkout@master
with:
Expand Down

0 comments on commit d70219d

Please sign in to comment.