Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
poor-circle committed Aug 1, 2023
1 parent d8095c6 commit 79e6e5f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ubuntu_clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ jobs:
matrix:
mode: [ Release, Debug ]

runs-on: ubuntu-18.04
runs-on: ubuntu-20.04

steps:
- name: Checkout
Expand All @@ -145,14 +145,17 @@ jobs:
- name: Install ninja-build tool
uses: seanmiddleditch/gha-setup-ninja@master

- name: Install clang-6
run: apt-get install clang-6 clang++-6

- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
with:
key: ${{ github.job }}-${{ matrix.mode}}

- name: Configure
run: |
CXX=clang++ CC=clang
CXX=clang-6++ CC=clang-6
cmake -B ${{github.workspace}}/build -G Ninja \
-DCMAKE_BUILD_TYPE=${{matrix.mode}} \
-DUSE_CCACHE=${{env.ccache}} -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ \
Expand Down

0 comments on commit 79e6e5f

Please sign in to comment.