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: strategy:
fail-fast: false fail-fast: false
matrix: 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] os: [ubuntu-20.04]
compiler: [clang] compiler: [clang]
modules: [without]
# we can include specific combinations here # we can include specific combinations here
include: include:
- os: ubuntu-20.04 - os: ubuntu-20.04
compiler: clang12 compiler: clang12
modules: without
- os: ubuntu-20.04 - os: ubuntu-20.04
compiler: clang11 compiler: clang11
modules: without
- os: ubuntu-18.04 - os: ubuntu-18.04
compiler: clang10 compiler: clang10
modules: without
- os: ubuntu-18.04 - os: ubuntu-18.04
compiler: gcc8 compiler: gcc8
modules: without
- os: ubuntu-20.04 - os: ubuntu-20.04
compiler: gcc # default in 20.04 is gcc 9 compiler: gcc # default in 20.04 is gcc 9
modules: without
- os: ubuntu-20.04 - os: ubuntu-20.04
compiler: gcc10 compiler: gcc10
modules: without
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
name: ${{ matrix.os }}-${{ matrix.compiler }}-${{ matrix.modules }}-modules name: ${{ matrix.os }}-${{ matrix.compiler }}
env: env:
COMPILER: ${{ matrix.compiler }} COMPILER: ${{ matrix.compiler }}
if: github.repository == 'azerothcore/azerothcore-wotlk' if: github.repository == 'azerothcore/azerothcore-wotlk'
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Checkout modules
run: ./apps/ci/ci-install-modules.sh
if: matrix.modules == 'with'
- name: Cache - name: Cache
uses: actions/cache@v2 uses: actions/cache@v2
with: with:
path: var/ccache 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: | restore-keys: |
ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ matrix.modules }}-modules:${{ github.ref }} ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ github.ref }}
ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ matrix.modules }}-modules ccache:${{ matrix.os }}:${{ matrix.compiler }}
- name: Configure OS - name: Configure OS
run: source ./acore.sh install-deps run: source ./acore.sh install-deps
env: env: