-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support to build intl on zts php
- Loading branch information
1 parent
17e430a
commit d6ee42c
Showing
5 changed files
with
68 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 55 additions & 0 deletions
55
.github/workflows/dispatch-single-ts-single-icu-all-php-intl.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: 'dispatch-single-ts-single-icu-all-php-intl' | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
icu: | ||
description: ICU version | ||
required: true | ||
ts: | ||
description: thread-safety | ||
required: true | ||
rebuild: | ||
description: rebuild | ||
required: false | ||
|
||
jobs: | ||
php-intl: | ||
container: ubuntu:focal | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
php: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3'] | ||
name: php-intl | ||
steps: | ||
- name: ${{github.event.inputs.php}} | ||
id: print_details | ||
run: | | ||
echo sender=${{github.event.sender.login}} | ||
echo ICU=${{github.event.inputs.icu}} | ||
echo TS=${{github.event.inputs.ts}} | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Install requirements | ||
run: bash src/install-requirements.sh | ||
env: | ||
TS: ${{ github.event.inputs.ts }} | ||
VERSION: ${{ matrix.php }} | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Update intl | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
ICU: ${{ github.event.inputs.icu }} | ||
REPO: ${{ github.repository }} | ||
TS: ${{ github.event.inputs.ts }} | ||
VERSION: ${{ matrix.php }} | ||
WORKSPACE: ${{ github.workspace }} | ||
run: | | ||
existing_version=$(gh release view intl 2>/dev/null | grep -Po "$VERSION-$ICU" | head -n 1) | ||
if [ "$VERSION-$ICU" != "$existing_version" ] || [ "x${{github.event.inputs.rebuild}}" = "xtrue" ]; then | ||
bash src/build-intl.sh | ||
bash src/release-intl.sh | ||
else | ||
echo "intl $VERSION-$ICU build exists" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters