fix(CI): workflow updates (#6439)

This commit is contained in:
Patrick Lewis
2021-06-20 04:09:42 -07:00
committed by GitHub
parent ff5e4570dc
commit 6be8fa2c73
6 changed files with 21 additions and 15 deletions

View File

@@ -6,7 +6,9 @@ jobs:
check-codestyle:
strategy:
fail-fast: false
runs-on: ubuntu-20.04
matrix:
os: [ubuntu-20.04]
runs-on: ${{ matrix.os }}
name: check codestyle
steps:
- uses: actions/checkout@v2

View File

@@ -6,7 +6,7 @@ on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
group: ${{ github.head_ref }} || concat(${{ github.ref }}, ${{ github.workflow }})
cancel-in-progress: true
jobs:

View File

@@ -6,11 +6,11 @@ on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
group: ${{ github.head_ref }} || concat(${{ github.ref }}, ${{ github.workflow }})
cancel-in-progress: true
jobs:
build:
build-modules:
strategy:
fail-fast: false
matrix:

View File

@@ -7,14 +7,16 @@ on:
types: ['labeled']
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
group: ${{ github.head_ref }} || concat(${{ github.ref }}, ${{ github.workflow }})
cancel-in-progress: true
jobs:
docker-build-n-deploy:
strategy:
fail-fast: true
runs-on: ubuntu-20.04
matrix:
os: [ubuntu-20.04]
runs-on: ${{ matrix.os }}
if: github.repository == 'azerothcore/azerothcore-wotlk' && ${{ github.event.label.name == 'run-build' }}
env:
COMPOSE_DOCKER_CLI_BUILD: 1
@@ -76,10 +78,10 @@ jobs:
uses: actions/cache@v2
with:
path: var/docker/ccache
key: ccache:ubuntu-20.04:clang:without-modules:${{ github.ref }}:${{ github.sha }}
key: ccache:${{ matrix.os }}:clang:without-modules:${{ github.ref }}:${{ github.sha }}
restore-keys: |
ccache:ubuntu-20.04:clang:without-modules:${{ github.ref }}
ccache:ubuntu-20.04:clang:without-modules
ccache:${{ matrix.os }}:clang:without-modules:${{ github.ref }}
ccache:${{ matrix.os }}:clang:without-modules
- name: Build Production images
env:

View File

@@ -7,7 +7,7 @@ on:
types: ['labeled']
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
group: ${{ github.head_ref }} || concat(${{ github.ref }}, ${{ github.workflow }})
cancel-in-progress: true
jobs:
@@ -20,7 +20,7 @@ jobs:
# - macos-11.0
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }}
if: github.repository == 'azerothcore/azerothcore-wotlk && ${{ github.event.label.name == 'run-build' }}'
if: github.repository == 'azerothcore/azerothcore-wotlk' && ${{ github.event.label.name == 'run-build' }}
steps:
- uses: actions/checkout@v2
- name: Cache

View File

@@ -7,18 +7,20 @@ on:
types: ['labeled']
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
group: ${{ github.head_ref }} || concat(${{ github.ref }}, ${{ github.workflow }})
cancel-in-progress: true
jobs:
windows-build:
strategy:
fail-fast: false
runs-on: windows-2019
name: windows-2019-MSVC16
matrix:
os: [windows-2019]
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }}-MSVC16
env:
BOOST_ROOT: C:\local\boost_1_74_0
if: github.repository == 'azerothcore/azerothcore-wotlk && ${{ github.event.label.name == 'run-build' }}'
if: github.repository == 'azerothcore/azerothcore-wotlk' && ${{ github.event.label.name == 'run-build' }}
steps:
- uses: actions/checkout@v2
- name: Configure OS