This commit is contained in:
EPTIC
2021-05-28 14:00:21 +03:00
committed by GitHub
parent 615da0a839
commit 8279c3b7f9

View File

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