Skip to content

Commit 4ce3624

Browse files
committed
Fix .github files
1 parent 5e22cae commit 4ce3624

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

.github/workflows/ci.yaml

+10-9
Original file line numberDiff line numberDiff line change
@@ -141,16 +141,17 @@ jobs:
141141
142142
- name: Install PHP
143143
run: |
144-
cd php-${{ matrix.php }}
145144
cmake --install php-build/all-enabled
146145
147146
- name: Setup shared standalone extension
148147
run: |
149-
cd php-${{ matrix.php }}
150-
php ext/ext_skel.php --ext phantom
151-
mkdir ext/phantom/cmake/modules
152-
cp cmake/modules/FindPHP.cmake ext/phantom/cmake/modules
153-
cmake -S ext/phantom -B ext/phantom/cmake-build
154-
cmake --build ext/phantom/cmake-build -j
155-
cmake --install ext/phantom/cmake-build
156-
#php -d extension=phantom -m | grep phantom
148+
php php-build/all-enabled/php-src/ext/ext_skel.php --ext phantom
149+
mkdir -p php-build/all-enabled/php-src/ext/phantom/cmake/modules
150+
cp cmake/cmake/modules/FindPHP.cmake \
151+
php-build/all-enabled/php-src/ext/phantom/cmake/modules
152+
cmake \
153+
-S php-build/all-enabled/php-src/ext/phantom \
154+
-B php-build/all-enabled/php-src/ext/phantom/cmake-build
155+
cmake --build php-build/all-enabled/php-src/ext/phantom/cmake-build -j
156+
cmake --install php-build/all-enabled/php-src/ext/phantom/cmake-build
157+
php -d extension=phantom -m | grep phantom

0 commit comments

Comments
 (0)