Skip to content

Commit

Permalink
Fix pecl CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmjoy committed Aug 18, 2023
1 parent a932191 commit 604247f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/pecl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ jobs:
version:
- php: "8.2"
swoole: "5.0.0"
input:
- '\n\n'
- '\nyes\n'
option:
- 'enable-cargo-debug="no" enable-kafka-reporter="no"'
- 'enable-cargo-debug="no" enable-kafka-reporter="yes"'

runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -84,9 +84,10 @@ jobs:
- name: PECL install
run: |
sudo bash -c "source /tmp/cargo/env && \
sudo bash -c "\
source /tmp/cargo/env && \
cargo version && \
cargo run -p scripts --release -- create-package-xml --version 0.0.0 --notes 'Just for TEST.' && \
cat package.xml && \
( printf ${{ matrix.input }} | pecl install package.xml )"
pecl install -D '${{ matrix.option }}' package.xml"
php -d "extension=skywalking_agent" --ri skywalking_agent

0 comments on commit 604247f

Please sign in to comment.