mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
cs fix, enable action-tmate
This commit is contained in:
parent
939b9eb8a8
commit
3ff8c504f8
6
.github/workflows/build-unix.yml
vendored
6
.github/workflows/build-unix.yml
vendored
@ -198,9 +198,9 @@ jobs:
|
|||||||
run: ${{ needs.define-build.outputs.download }}
|
run: ${{ needs.define-build.outputs.download }}
|
||||||
- name: "Build PHP"
|
- name: "Build PHP"
|
||||||
run: ${{ needs.define-build.outputs.build }}
|
run: ${{ needs.define-build.outputs.build }}
|
||||||
#- name: Setup tmate session
|
- name: Setup tmate session
|
||||||
# if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
# uses: mxschmitt/action-tmate@v3
|
uses: mxschmitt/action-tmate@v3
|
||||||
|
|
||||||
# Upload cli executable
|
# Upload cli executable
|
||||||
- if: ${{ inputs.build-cli == true }}
|
- if: ${{ inputs.build-cli == true }}
|
||||||
|
|||||||
@ -327,7 +327,7 @@ abstract class UnixBuilderBase extends BuilderBase
|
|||||||
if (getenv('SPC_CMD_VAR_PHP_EMBED_TYPE') === 'shared') {
|
if (getenv('SPC_CMD_VAR_PHP_EMBED_TYPE') === 'shared') {
|
||||||
$libphpVersion = preg_replace('/\.\d$/', '', $libphpVersion);
|
$libphpVersion = preg_replace('/\.\d$/', '', $libphpVersion);
|
||||||
}
|
}
|
||||||
$debugFlags = $this->getOption('no-strip') ? "-w -s " : '';
|
$debugFlags = $this->getOption('no-strip') ? '-w -s ' : '';
|
||||||
$extLdFlags = "-extldflags '-pie'";
|
$extLdFlags = "-extldflags '-pie'";
|
||||||
$muslTags = '';
|
$muslTags = '';
|
||||||
$staticFlags = '';
|
$staticFlags = '';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user