mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 12:54:52 +08:00
debug compile-micro mode
This commit is contained in:
parent
09095f48a7
commit
e4c8815ba7
4
.github/workflows/build-php.yml
vendored
4
.github/workflows/build-php.yml
vendored
@ -28,8 +28,6 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
||||||
fi
|
fi
|
||||||
- name: Build PHP ${{ matrix.php-versions }} for ${{ matrix.arch }}
|
|
||||||
run: cd docker/ && docker build . --file Dockerfile --tag static-php --build-arg USE_BACKUP_ADDRESS=yes --build-arg COMPILE_PHP_VERSION=${{ matrix.php-versions }}
|
|
||||||
- name: Build micro PHP distribution ${{ matrix.php-versions }} for ${{ matrix.arch }}
|
- name: Build micro PHP distribution ${{ matrix.php-versions }} for ${{ matrix.arch }}
|
||||||
run: |
|
run: |
|
||||||
if [[ "${{ matrix.arch }}" = "x86_64" ]]; then
|
if [[ "${{ matrix.arch }}" = "x86_64" ]]; then
|
||||||
@ -38,6 +36,8 @@ jobs:
|
|||||||
cd docker/ && docker build . --file Dockerfile --tag static-micro --build-arg USE_BACKUP_ADDRESS=yes --build-arg COMPILE_PHP_VERSION=${{ matrix.php-versions }} --build-arg COMPILE_MICRO=yes
|
cd docker/ && docker build . --file Dockerfile --tag static-micro --build-arg USE_BACKUP_ADDRESS=yes --build-arg COMPILE_PHP_VERSION=${{ matrix.php-versions }} --build-arg COMPILE_MICRO=yes
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
- name: Build PHP ${{ matrix.php-versions }} for ${{ matrix.arch }}
|
||||||
|
run: cd docker/ && docker build . --file Dockerfile --tag static-php --build-arg USE_BACKUP_ADDRESS=yes --build-arg COMPILE_PHP_VERSION=${{ matrix.php-versions }}
|
||||||
- name: Push PHP ${{ matrix.php-versions }} to dist
|
- name: Push PHP ${{ matrix.php-versions }} to dist
|
||||||
run: |
|
run: |
|
||||||
mkdir dist && docker run --rm -v $(pwd)/dist:/dist/ static-php cp php-dist/bin/php /dist/
|
mkdir dist && docker run --rm -v $(pwd)/dist:/dist/ static-php cp php-dist/bin/php /dist/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user