chore(CI/Ubuntu): remove unused code (#8703)

This commit is contained in:
Kitzunu
2021-11-01 10:13:00 +01:00
committed by GitHub
parent 03b958ac1a
commit 54cf80bf29

View File

@@ -14,48 +14,38 @@ jobs:
strategy:
fail-fast: false
matrix:
# the result of the matrix will be the combination of all attributes, so we get os*compiler*modules builds
# the result of the matrix will be the combination of all attributes, so we get os*compiler builds
os: [ubuntu-20.04]
compiler: [clang]
modules: [without]
# we can include specific combinations here
include:
- os: ubuntu-20.04
compiler: clang12
modules: without
- os: ubuntu-20.04
compiler: clang11
modules: without
- os: ubuntu-18.04
compiler: clang10
modules: without
- os: ubuntu-18.04
compiler: gcc8
modules: without
- os: ubuntu-20.04
compiler: gcc # default in 20.04 is gcc 9
modules: without
- os: ubuntu-20.04
compiler: gcc10
modules: without
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }}-${{ matrix.compiler }}-${{ matrix.modules }}-modules
name: ${{ matrix.os }}-${{ matrix.compiler }}
env:
COMPILER: ${{ matrix.compiler }}
if: github.repository == 'azerothcore/azerothcore-wotlk'
steps:
- uses: actions/checkout@v2
- name: Checkout modules
run: ./apps/ci/ci-install-modules.sh
if: matrix.modules == 'with'
- name: Cache
uses: actions/cache@v2
with:
path: var/ccache
key: ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ matrix.modules }}-modules:${{ github.ref }}:${{ github.sha }}
key: ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ github.ref }}:${{ github.sha }}
restore-keys: |
ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ matrix.modules }}-modules:${{ github.ref }}
ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ matrix.modules }}-modules
ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ github.ref }}
ccache:${{ matrix.os }}:${{ matrix.compiler }}
- name: Configure OS
run: source ./acore.sh install-deps
env: