File tree Expand file tree Collapse file tree 1 file changed +20
-3
lines changed
Expand file tree Collapse file tree 1 file changed +20
-3
lines changed Original file line number Diff line number Diff line change @@ -2,20 +2,37 @@ name: Test Infix
22
33on :
44 workflow_dispatch :
5+ inputs :
6+ infix_repo :
7+ description : ' Repo to checkout (for spin overrides)'
8+ required : false
9+ default : kernelkit/infix
10+ type : string
511 workflow_call :
612 inputs :
713 target :
814 required : true
915 type : string
16+ infix_repo :
17+ description : ' Repo to checkout (for spin overrides)'
18+ required : false
19+ default : kernelkit/infix
20+ type : string
21+
22+ INFIX_REPO : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.infix_repo || inputs.infix_repo }}
1023
1124jobs :
1225 test :
1326 name : Regression Test of Infix x86_64
1427 runs-on : [ self-hosted, regression ]
1528 steps :
16- - uses : actions/checkout@v4
29+ - name : Checkout infix repo
30+ uses : actions/checkout@v4
1731 with :
32+ repository : ${{ env.INFIX_REPO }}
33+ ref : ${{ github.ref }}
1834 clean : true
35+ fetch-depth : 0
1936 submodules : recursive
2037
2138 - name : Set Build Variables
3350 fi
3451 echo "flv=$flavor" >> $GITHUB_OUTPUT
3552
36- - name : Configure x86_64 ${{ steps.vars.outputs.flv }}
53+ - name : Configure ${{ inputs.target }} ${{ steps.vars.outputs.flv }}
3754 run : |
38- make x86_64 ${{ steps.vars.outputs.flv }}_defconfig
55+ make ${{ inputs.target }} ${{ steps.vars.outputs.flv }}_defconfig
3956
4057 - uses : actions/download-artifact@v4
4158 with :
You can’t perform that action at this time.
0 commit comments