Skip to content

Commit 3101b9f

Browse files
committed
Add lemon parser for win, fix ini file path
1 parent b4936af commit 3101b9f

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.github/actions/build-linux/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ runs:
3131
shell: bash
3232
run: |
3333
sudo cp ./modules/zephir_parser.so "$(php -r 'echo ini_get("extension_dir");')/zephir_parser.so"
34-
echo "extension=zephir_parser.so" > /etc/php/${{ matrix.php }}/cli/conf.d/20-zephir_parser.ini
34+
sudo echo "extension=zephir_parser.so" > /etc/php/${{ matrix.php }}/cli/conf.d/20-zephir_parser.ini

.github/actions/build-mac/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ runs:
3333
shell: bash
3434
run: |
3535
cp ./modules/zephir_parser.so "$(php -r 'echo ini_get("extension_dir");')/zephir_parser.so"
36-
echo "extension=zephir_parser.so" > /usr/local/etc/php/${{ matrix.php }}/cli/conf.d/ext-zephir_parser.ini
36+
echo "extension=zephir_parser.so" > /usr/local/etc/php/${{ matrix.php }}/conf.d/ext-zephir_parser.ini

.github/actions/build-win/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ runs:
3737
}
3838
Write-Output "::endgroup::"
3939
40+
- name: Compile Lemon Parser
41+
shell: powershell
42+
run: |
43+
.\.ci\lemon-parser.ps1
44+
4045
- name: Setup PHP SDK tool kit
4146
uses: zephir-lang/setup-php-sdk@v1
4247
with:

0 commit comments

Comments
 (0)