mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-21 07:45:36 +08:00
Compare commits
2 Commits
1ba531c569
...
7840ce63ef
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7840ce63ef | ||
|
|
1629dc5f2d |
15
.github/workflows/release-build.yml
vendored
15
.github/workflows/release-build.yml
vendored
@@ -45,22 +45,13 @@ jobs:
|
||||
- name: "Install locked dependencies"
|
||||
run: "composer install --no-interaction --no-progress"
|
||||
|
||||
# Cache downloaded source
|
||||
- id: cache-download
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: downloads
|
||||
key: php-${{ matrix.php-version }}-dependencies
|
||||
|
||||
# If there's no dependencies cache, fetch sources
|
||||
- if: steps.cache-download.outputs.cache-hit != 'true'
|
||||
name: "Download sources"
|
||||
run: bin/spc download --with-php=${{ matrix.php-version }} --all
|
||||
- name: "Download sources"
|
||||
run: bin/spc download --with-php=${{ matrix.php-version }} php-src,micro,pkg-config,onig,zlib
|
||||
|
||||
- name: "Build phpmicro"
|
||||
run: |
|
||||
SPC_USE_SUDO=yes bin/spc doctor --auto-fix
|
||||
bin/spc build pcntl,posix,mbstring,tokenizer,phar --build-micro --debug
|
||||
bin/spc build pcntl,posix,mbstring,tokenizer,phar --build-micro
|
||||
|
||||
- name: "Build PHAR file"
|
||||
run: "composer build:phar"
|
||||
|
||||
Reference in New Issue
Block a user