File tree Expand file tree Collapse file tree 1 file changed +21
-3
lines changed
Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -2,20 +2,38 @@ 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+ env :
23+ INFIX_REPO : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.infix_repo || inputs.infix_repo }}
1024
1125jobs :
1226 test :
1327 name : Regression Test of Infix x86_64
1428 runs-on : [ self-hosted, regression ]
1529 steps :
16- - uses : actions/checkout@v4
30+ - name : Checkout infix repo
31+ uses : actions/checkout@v4
1732 with :
33+ repository : ${{ env.INFIX_REPO }}
34+ ref : ${{ github.ref }}
1835 clean : true
36+ fetch-depth : 0
1937 submodules : recursive
2038
2139 - name : Set Build Variables
3351 fi
3452 echo "flv=$flavor" >> $GITHUB_OUTPUT
3553
36- - name : Configure x86_64 ${{ steps.vars.outputs.flv }}
54+ - name : Configure ${{ inputs.target }} ${{ steps.vars.outputs.flv }}
3755 run : |
38- make x86_64 ${{ steps.vars.outputs.flv }}_defconfig
56+ make ${{ inputs.target }} ${{ steps.vars.outputs.flv }}_defconfig
3957
4058 - uses : actions/download-artifact@v4
4159 with :
You can’t perform that action at this time.
0 commit comments