Merge pull request #34 from azerothcore/fix-ci

Fix CI
This commit is contained in:
Stefano Borzì
2021-05-28 19:20:14 +02:00
committed by GitHub

View File

@@ -8,8 +8,8 @@ jobs:
strategy:
fail-fast: false
matrix:
compiler: [clang6, clang9, clang10]
runs-on: ubuntu-20.04
compiler: [clang, clang11]
runs-on: ubuntu-latest
name: ${{ matrix.compiler }}
env:
COMPILER: ${{ matrix.compiler }}
@@ -24,7 +24,7 @@ jobs:
submodules: 'recursive'
path: 'modules/mod-anticheat'
- name: Cache
uses: actions/cache@v1.1.2
uses: actions/cache@v2
with:
path: /home/runner/.ccache
key: ccache:${{ matrix.compiler }}:${{ github.ref }}:${{ github.sha }}
@@ -32,9 +32,11 @@ jobs:
ccache:${{ matrix.compiler }}:${{ github.ref }}
ccache:${{ matrix.compiler }}
- name: Configure OS
run: source ./apps/ci/ci-install.sh
run: source ./acore.sh install-deps
env:
CONTINUOUS_INTEGRATION: true
- name: Create conf/config.sh
run: source ./apps/ci/ci-conf.sh
- name: Import db
run: source ./apps/ci/ci-import-db.sh
- name: Build
@@ -42,4 +44,6 @@ jobs:
- name: Dry run
run: source ./apps/ci/ci-worldserver-dry-run.sh
- name: Check startup errors
run: source ./apps/ci/ci-error-check.sh
run: source ./apps/ci/ci-error-check.sh
- name: Run unit tests
run: source ./apps/ci/ci-run-unit-tests.sh