diff options
author | sudlud <sudlud@users.noreply.github.com> | 2025-02-15 14:10:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-15 14:10:46 +0100 |
commit | 0d37ff292b581d6652746e87b59a9f94fe211846 (patch) | |
tree | 3af4593aadaf17c2c531c8d25c64341a3031c070 /.github/actions/linux-build/action.yml | |
parent | fae07daa4ca28a1ad2f469776d643b33f59507bc (diff) |
fix(CI/nopch-module-build): ensure build continues after errors (#21457)
Diffstat (limited to '.github/actions/linux-build/action.yml')
-rw-r--r-- | .github/actions/linux-build/action.yml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/.github/actions/linux-build/action.yml b/.github/actions/linux-build/action.yml index caf3c6047e..fc1bc2466b 100644 --- a/.github/actions/linux-build/action.yml +++ b/.github/actions/linux-build/action.yml @@ -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 |