diff --git a/.github/workflows/core_build.yml b/.github/workflows/core_build.yml index 40a18ff4d..586f673f4 100644 --- a/.github/workflows/core_build.yml +++ b/.github/workflows/core_build.yml @@ -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: