File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 1313 - ' 8.3'
1414 - ' 8.2'
1515 - ' 8.1'
16- - ' 8.0'
17- - ' 7.4'
1816 build-cli :
1917 description : build cli binary
2018 default : true
3634 debug :
3735 description : enable debug logs
3836 type : boolean
37+ no-strip :
38+ description : keep debug symbols for debugging
39+ type : boolean
40+ default : false
3941
4042env :
4143 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
8890 run : echo "SPC_BUILD_DEBUG=--debug" >> $GITHUB_ENV
8991 - if : inputs.prefer-pre-built == true
9092 run : echo "SPC_PRE_BUILT=--prefer-pre-built" >> $env:GITHUB_ENV
93+ - if : inputs.no-strip == true
94+ run : echo "SPC_NO_STRIP=--no-strip" >> $env:GITHUB_ENV
9195
9296 # With target select: cli, micro or both
9397 - if : ${{ inputs.build-cli == true }}
@@ -99,10 +103,10 @@ jobs:
99103
100104 # If there's no dependencies cache, fetch sources, with or without debug
101105 - if : steps.cache-download.outputs.cache-hit != 'true'
102- run : ./bin/spc download --with-php=${{ inputs.version }} --for-extensions=${{ inputs.extensions }} ${{ env.SPC_BUILD_DEBUG }} ${{ env.SPC_PRE_BUILT }}
106+ run : ./bin/spc download --with-php=${{ inputs.version }} --for-extensions=${{ inputs.extensions }} ${{ env.SPC_BUILD_DEBUG }} ${{ env.SPC_PRE_BUILT }} --ignore-cache-sources=php-src
103107
104108 # Run build command
105- - run : ./bin/spc build ${{ inputs.extensions }} ${{ env.SPC_BUILD_DEBUG }} ${{ env.SPC_BUILD_CLI }} ${{ env.SPC_BUILD_MICRO }} ${{ env.SPC_BUILD_FPM }}
109+ - run : ./bin/spc build ${{ inputs.extensions }} ${{ env.SPC_BUILD_DEBUG }} ${{ env.SPC_NO_STRIP }} ${{ env. SPC_BUILD_CLI }} ${{ env.SPC_BUILD_MICRO }} ${{ env.SPC_BUILD_FPM }}
106110
107111 # Upload cli executable
108112 - if : ${{ inputs.build-cli == true }}
You can’t perform that action at this time.
0 commit comments