Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f06554b

Browse filesBrowse files
committed
minor #49125 Utilize shivammathur/setup-php to install Relay extension (ostrolucky)
This PR was merged into the 6.3 branch. Discussion ---------- Utilize shivammathur/setup-php to install Relay extension | Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | Follow-up to #48930 | License | MIT | Doc PR | This is possible since https://github.com/shivammathur/setup-php/releases/tag/2.24.0. A bit unfortunate timing since they tagged it one day after we merged relay, but no biggie. Commits ------- b2b0a75 Utilize shivammathur/setup-php to install Relay extension
2 parents e7e59fb + b2b0a75 commit f06554b
Copy full SHA for f06554b

File tree

Expand file treeCollapse file tree

2 files changed

+2
-18
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-18
lines changed

‎.github/workflows/integration-tests.yml

Copy file name to clipboardExpand all lines: .github/workflows/integration-tests.yml
+1-9Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -134,19 +134,11 @@ jobs:
134134
uses: shivammathur/setup-php@v2
135135
with:
136136
coverage: "none"
137-
extensions: "json,couchbase-3.2.2,memcached,mongodb-1.12.0,redis,rdkafka,xsl,ldap,msgpack,igbinary"
137+
extensions: "json,couchbase-3.2.2,memcached,mongodb-1.12.0,redis,rdkafka,xsl,ldap,relay-dev"
138138
ini-values: date.timezone=UTC,memory_limit=-1,default_socket_timeout=10,session.gc_probability=0,apc.enable_cli=1,zend.assertions=1
139139
php-version: "${{ matrix.php }}"
140140
tools: pecl
141141

142-
- name: Install Relay
143-
run: |
144-
curl -L "https://builds.r2.relay.so/dev/relay-dev-php${{ matrix.php }}-debian-x86-64.tar.gz" | tar xz
145-
cd relay-dev-php${{ matrix.php }}-debian-x86-64
146-
sudo cp relay.ini $(php-config --ini-dir)
147-
sudo cp relay-pkg.so $(php-config --extension-dir)/relay.so
148-
sudo sed -i "s/00000000-0000-0000-0000-000000000000/$(cat /proc/sys/kernel/random/uuid)/" $(php-config --extension-dir)/relay.so
149-
150142
- name: Display versions
151143
run: |
152144
php -r 'foreach (get_loaded_extensions() as $extension) echo $extension . " " . phpversion($extension) . PHP_EOL;'

‎.github/workflows/psalm.yml

Copy file name to clipboardExpand all lines: .github/workflows/psalm.yml
+1-9Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,10 @@ jobs:
2424
uses: shivammathur/setup-php@v2
2525
with:
2626
php-version: '8.1'
27-
extensions: "json,couchbase,memcached,mongodb,redis,xsl,ldap,dom"
27+
extensions: "json,couchbase,memcached,mongodb,redis,xsl,ldap,dom,relay"
2828
ini-values: "memory_limit=-1"
2929
coverage: none
3030

31-
- name: Install Relay
32-
run: |
33-
curl -L "https://builds.r2.relay.so/dev/relay-dev-php8.1-debian-x86-64.tar.gz" | tar xz
34-
cd relay-dev-php8.1-debian-x86-64
35-
sudo cp relay.ini $(php-config --ini-dir)
36-
sudo cp relay-pkg.so $(php-config --extension-dir)/relay.so
37-
sudo sed -i "s/00000000-0000-0000-0000-000000000000/$(cat /proc/sys/kernel/random/uuid)/" $(php-config --extension-dir)/relay.so
38-
3931
- name: Checkout target branch
4032
uses: actions/checkout@v3
4133
with:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.