GHActions: Disable PCH on clang builds

There's an incompatibility between ccache and clang's PCH that's fixed by cmake 3.17 (ubuntu 20.04 has 3.16)
This commit is contained in:
TellowKrinkle 2020-11-24 04:48:49 -06:00 committed by Kojin
parent 10a7e7a15f
commit 5927cef89f
1 changed files with 5 additions and 1 deletions

View File

@ -46,13 +46,17 @@ jobs:
- os: ubuntu-20.04
platform: x86
compiler: clang
# Need to disable PCH until cmake 3.17
# (PCH conflicts with ccache, fixed by https://gitlab.kitware.com/cmake/cmake/-/merge_requests/4400)
cmakeflags: -DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON
detail: -nopch
experimental: false
- os: ubuntu-20.04
platform: x86
compiler: gcc
cmakeflags: -DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON
detail: -nopch
experimental: true
experimental: false
name: ${{ matrix.os }}-${{ matrix.platform }}-${{ matrix.compiler }}${{ matrix.detail }}
runs-on: ${{ matrix.os }}