Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
dixyes committed May 31, 2024
1 parent eceb70b commit d96e148
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,19 @@ jobs:
fail-fast: false
steps:
- name: Checkout PHP
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: php/php-src
path: php-src
ref: ${{ matrix.rev }}

- name: Checkout micro
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: php-src/sapi/micro

- name: Checkout php-sdk-binary-tools
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: php/php-sdk-binary-tools
path: php-sdk-binary-tools
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
nmake micro
- name: Upload built micro as artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: micro_windows_${{ matrix.name }}
path: php-src/x64/Release/micro.sfx
Expand All @@ -127,7 +127,7 @@ jobs:
shell: cmd /c ..\php-sdk-binary-tools\phpsdk-vs17-x64.bat -t {0}
working-directory: php-src
run: |
nmake micro_test TESTS="--color sapi/micro/tests"
nmake micro_test TESTS="--show-diff --color sapi/micro/tests"
linuxtests:
name: Linux tests for PHP ${{ matrix.name }}
runs-on: "ubuntu-latest"
Expand All @@ -140,14 +140,14 @@ jobs:
fail-fast: false
steps:
- name: Checkout PHP
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: php/php-src
path: php-src
ref: ${{ matrix.rev }}

- name: Checkout micro
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: php-src/sapi/micro

Expand Down Expand Up @@ -220,7 +220,7 @@ jobs:
elfedit --output-osabi linux sapi/micro/micro.sfx
- name: Upload built micro as artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: micro_linux_${{ matrix.name }}
path: php-src/sapi/micro/micro.sfx
Expand All @@ -229,7 +229,7 @@ jobs:
- name: Test micro SAPI for PHP
working-directory: php-src
run: |
make micro_test TESTS="--color sapi/micro/tests"
make micro_test TESTS="--show-diff --color sapi/micro/tests"
macostests:
name: macOS tests for PHP ${{ matrix.name }}
#runs-on: "macos-latest"
Expand All @@ -245,14 +245,14 @@ jobs:
fail-fast: false
steps:
- name: Checkout PHP
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: php/php-src
path: php-src
ref: ${{ matrix.rev }}

- name: Checkout micro
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: php-src/sapi/micro

Expand Down Expand Up @@ -323,7 +323,7 @@ jobs:
EXTRA_CFLAGS='-Os'
- name: Upload built micro as artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: micro_macos_${{ matrix.name }}
path: php-src/sapi/micro/micro.sfx
Expand All @@ -332,4 +332,4 @@ jobs:
- name: Test micro SAPI for PHP
working-directory: php-src
run: |
make micro_test TESTS="--color sapi/micro/tests"
make micro_test TESTS="--show-diff --color sapi/micro/tests"

0 comments on commit d96e148

Please sign in to comment.