Skip to content

Commit ffd0c05

Browse files
committed
.github: allow workflow caller to pass 9pm config
1 parent 9271c24 commit ffd0c05

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,15 @@ on:
2525
required: false
2626
type: string
2727
default: kernelkit/infix
28+
ninepm-conf:
29+
required: false
30+
type: string
31+
default: ''
2832

2933
env:
3034
FLV: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.flavor || inputs.flavor }}
3135
INFIX_REPO: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.infix_repo || inputs.infix_repo }}
36+
NINEPM_CONF: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.ninepm-conf || inputs.ninepm-conf }}
3237

3338
jobs:
3439
test:
@@ -77,6 +82,10 @@ jobs:
7782
7883
- name: Regression Test x86_64${{ steps.vars.outputs.flv }}
7984
run: |
85+
if [ -n "$NINEPM_CONF" ]; then
86+
export NINEPM_PROJ_CONFIG="${GITHUB_WORKSPACE}/$NINEPM_CONF"
87+
echo "DEBUG: NINEPM_PROJ_CONFIG is '$NINEPM_PROJ_CONFIG'"
88+
fi
8089
make test
8190
8291
- name: Publish Test Result for x86_64${{ steps.vars.outputs.flv }}

0 commit comments

Comments
 (0)