mirror of
https://github.com/azerothcore/azerothcore-wotlk.git
synced 2025-11-10 21:04:26 +08:00
fix(CI/nopch-module-build): ensure build continues after errors (#21457)
This commit is contained in:
parent
fae07daa4c
commit
0d37ff292b
9
.github/actions/linux-build/action.yml
vendored
9
.github/actions/linux-build/action.yml
vendored
@ -31,6 +31,11 @@ inputs:
|
||||
description: Max allowed error count before compilation stops
|
||||
required: false
|
||||
type: number
|
||||
keepgoing:
|
||||
default: false
|
||||
description: Flag to continue build after errors
|
||||
required: false
|
||||
type: boolean
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
@ -121,7 +126,9 @@ runs:
|
||||
- name: build
|
||||
shell: bash
|
||||
working-directory: "${{ github.workspace }}/build"
|
||||
run: cmake --build . --config "Release" -j "$(($(nproc) + 2))"
|
||||
run: |
|
||||
# '--' passes '--keep-going' to the underlying build system (make)
|
||||
cmake --build . --config "Release" -j "$(($(nproc) + 2))" ${{ inputs.keepgoing == 'true' && '-- --keep-going' || '' }}
|
||||
|
||||
- name: install
|
||||
shell: bash
|
||||
|
||||
1
.github/workflows/core_modules_build.yml
vendored
1
.github/workflows/core_modules_build.yml
vendored
@ -50,3 +50,4 @@ jobs:
|
||||
modules: true
|
||||
pch: false
|
||||
maxerrors: 0
|
||||
keepgoing: true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user