-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.release-config
More file actions
44 lines (40 loc) · 1.87 KB
/
Copy path.release-config
File metadata and controls
44 lines (40 loc) · 1.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Release metadata for this extension: name, version macro location,
# repo slug, supported PHP build matrix, configure flags. Consumed by
# the release tooling at tag time.
extension: fastchart
version_macro: PHP_FASTCHART_VERSION
version_file: php_fastchart.h
repo: iliaal/fastchart
build_matrix:
- PHP-8.1
- PHP-8.2
- PHP-8.3
- PHP-8.4
- PHP-8.5
configure_base: "--enable-fastchart --enable-fastchart-dev"
# Extra variant: the opt-in PDF backend. The base matrix builds with PDF
# compiled out (configure_base has no --with-pdfio), so this lane is what
# actually exercises fastchart_pdf.c. Local runs need pdfio findable on
# PKG_CONFIG_PATH (it is not packaged in apt — build michaelrsweet/pdfio
# into a prefix and pass --with-pdfio=PREFIX, or export PKG_CONFIG_PATH).
# CI covers this via the tests.yml `pdf` job, which source-builds pdfio.
extra_build_variants:
- name: "PDF backend (--with-pdfio)"
configure: "--enable-fastchart --enable-fastchart-dev --with-pdfio"
php_version: PHP-8.4
# Prebuilt-binary release lanes. windows.yml builds Windows DLLs for
# PHP-8.1 through 8.5 (NTS+TS, x64+x86) via php-windows-builder; the four
# system deps (freetype, libpng, libjpeg-turbo, libwebp) come through
# the action's libs: input which resolves via vcpkg. release-linux.yml
# builds .so for Linux x86_64 + Linux arm64 + macOS arm64 at PHP-8.4/8.5
# with apt-get/brew install steps for the four deps before the build.
# PHP-8.3 and macOS Intel users source-
# build through PIE's composer-default fallback (composer.json declares
# both download-url-methods).
windows_ci: true
linux_prebuilt: true
# PIE install + functional smoke test. Runs against php:8.x-cli with
# freetype / libpng / libjpeg / libwebp dev packages and ext/gd
# provisioned in the container (ext/gd loaded only for PHP-side
# image validation in the tests, not by fastchart itself).
smoke_test: scripts/pie-smoke.sh