Skip to content

Commit

Permalink
fix(CI/nopch-module-build): ensure build continues after errors (azer…
Browse files Browse the repository at this point in the history
  • Loading branch information
sudlud authored Feb 15, 2025
1 parent fae07da commit 0d37ff2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/actions/linux-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/core_modules_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,4 @@ jobs:
modules: true
pch: false
maxerrors: 0
keepgoing: true

0 comments on commit 0d37ff2

Please sign in to comment.