From 8279c3b7f900f96463e2a13d295581ee88b3ccd0 Mon Sep 17 00:00:00 2001 From: EPTIC <25827787+wizzymore@users.noreply.github.com> Date: Fri, 28 May 2021 14:00:21 +0300 Subject: [PATCH] Fix CI --- .github/workflows/core-build.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/core-build.yml b/.github/workflows/core-build.yml index fd2b9b1..87b0d11 100644 --- a/.github/workflows/core-build.yml +++ b/.github/workflows/core-build.yml @@ -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 \ No newline at end of file + run: source ./apps/ci/ci-error-check.sh + - name: Run unit tests + run: source ./apps/ci/ci-run-unit-tests.sh