From 5a29f0a9ea79eb8b91b196fc1a1904de2762b08c Mon Sep 17 00:00:00 2001 From: Rochet2 Date: Tue, 15 Sep 2020 22:51:51 +0300 Subject: [PATCH] Try PCH=ON CCACHE=OFF (#329) This should make AC build faster for us. (new: 23 min, old: 39 min) --- .github/workflows/build.yml | 43 ++++++++++++++++++++++++------------- 1 file changed, 28 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6114a12..a6d9e5f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -47,11 +47,7 @@ jobs: AC-Eluna: strategy: fail-fast: false - matrix: - compiler: [clang10] runs-on: ubuntu-20.04 - env: - COMPILER: ${{ matrix.compiler }} steps: - uses: actions/checkout@v2 with: @@ -66,18 +62,35 @@ jobs: - uses: actions/checkout@v2 with: path: modules/mod-eluna-lua-engine/LuaEngine - - name: Cache - uses: actions/cache@v2 - with: - path: /home/runner/.ccache - key: ccache:${{ matrix.compiler }}:${{ github.ref }}:${{ github.sha }} - restore-keys: | - ccache:${{ matrix.compiler }}:${{ github.ref }} - ccache:${{ matrix.compiler }} - name: Configure OS - run: source ./apps/ci/ci-install.sh - env: - CONTINUOUS_INTEGRATION: true + run: | + # Copy paste of https://github.com/azerothcore/azerothcore-wotlk/blob/master/apps/ci/ci-install.sh + + cat >>conf/config.sh <> ./conf/config.sh + echo "CCOMPILERCXX=\"clang++-10\"" >> ./conf/config.sh - name: Import db run: source ./apps/ci/ci-import-db.sh - name: Build