Skip to content

Commit ecae192

Browse files
CI: Add build for php8.3 & enable artifact collection (#82)
* Support for php8.3 on Windows using php/[email protected] * Collect the build artifacts (.dll / .so) in the following format: * Linux: `yaml_${{ matrix.php-version }}_linux` * Windows: `yaml_${{ matrix.php-version }}_win32_${{ matrix.ts }}_${{ matrix.arch }}`
1 parent 5611632 commit ecae192

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/main.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ jobs:
5858
-d extension=yaml.so
5959
--show-diff
6060
tests
61+
- name: Upload artifacts
62+
uses: actions/upload-artifact@v4
63+
with:
64+
name: "yaml_${{ matrix.php-version }}_linux"
65+
path: .libs/yaml.so
6166

6267
windows:
6368
name: Windows
@@ -74,6 +79,7 @@ jobs:
7479
- "8.0"
7580
- "8.1"
7681
- "8.2"
82+
- "8.3"
7783
arch:
7884
- "x64"
7985
ts:
@@ -91,7 +97,7 @@ jobs:
9197
uses: actions/checkout@v3
9298
- name: Setup PHP
9399
id: setup-php
94-
uses: cmb69/setup-php-sdk@v0.7
100+
uses: php/setup-php-sdk@v0.8
95101
with:
96102
version: "${{ matrix.php-version }}"
97103
arch: "${{ matrix.arch }}"
@@ -117,3 +123,8 @@ jobs:
117123
run: nmake /D /P
118124
- name: Run tests
119125
run: nmake test TESTS="-n --show-diff tests"
126+
- name: Upload artifacts
127+
uses: actions/upload-artifact@v4
128+
with:
129+
name: "yaml_${{ matrix.php-version }}_win32_${{ matrix.ts }}_${{ matrix.arch }}"
130+
path: x64/

0 commit comments

Comments
 (0)