Compare commits

...

2 Commits

Author SHA1 Message Date
crazywhalecc
7840ce63ef remove download cache and minimize download sources 2023-09-15 19:06:41 +08:00
crazywhalecc
1629dc5f2d remove debug option 2023-09-15 19:01:48 +08:00

View File

@@ -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"