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
|
description: Max allowed error count before compilation stops
|
||||||
required: false
|
required: false
|
||||||
type: number
|
type: number
|
||||||
|
keepgoing:
|
||||||
|
default: false
|
||||||
|
description: Flag to continue build after errors
|
||||||
|
required: false
|
||||||
|
type: boolean
|
||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
steps:
|
steps:
|
||||||
@ -121,7 +126,9 @@ runs:
|
|||||||
- name: build
|
- name: build
|
||||||
shell: bash
|
shell: bash
|
||||||
working-directory: "${{ github.workspace }}/build"
|
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
|
- name: install
|
||||||
shell: bash
|
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
|
modules: true
|
||||||
pch: false
|
pch: false
|
||||||
maxerrors: 0
|
maxerrors: 0
|
||||||
|
keepgoing: true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user