Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ inputs:
required: false
default: ""
description: "extra compile flags will be added to the end of C_FLAGS and CXX_FLAGS"
ninja_target:
required: false
type: string

runs:
using: "composite"
Expand Down Expand Up @@ -59,7 +62,7 @@ runs:
export CCACHE_SLOPPINESS=locale
export CCACHE_MAXSIZE=50G
cd ../build
ninja
ninja ${{ inputs.ninja_target }}
ccache -s
df -h
- name: report Build failed
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/build_and_test_provisioned.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ on:
checkout_ref:
required: false
type: string
ninja_target:
required: false
type: string
workflow_dispatch:
inputs:
runner_label:
Expand All @@ -53,6 +56,9 @@ on:
checkout_ref:
required: false
type: string
ninja_target:
required: false
type: string

jobs:
main:
Expand All @@ -70,6 +76,7 @@ jobs:
sanitizer: ${{ inputs.sanitizer }}
ccache_remote_path: ${{ vars.REMOTE_CACHE_URL && format('http://{0}{1}', secrets.REMOTE_CACHE_AUTH, vars.REMOTE_CACHE_URL) || ''}}
extra_compile_flags: ${{ inputs.extra_compile_flags }}
ninja_target: ${{ inputs.ninja_target }}
- name: Run tests
uses: ./.github/actions/test
with:
Expand Down