Commit graph

8 commits

Author SHA1 Message Date
Michael Programs
6f33a65c13
build: add pkg-config and libffi to dependency lists (#1235)
package_ffi requires pkg-config and libffi (find_package(PkgConfig
REQUIRED) + pkg_check_modules(FFI REQUIRED libffi) in
src/packages/ffi/CMakeLists.txt), but the docs, Dockerfile, and CI
package lists never listed them — CI only passed because the runners
preinstall pkg-config.
Add the platform-appropriate packages across every dependency list:
- apt: pkg-config libffi-dev
- brew: libffi (pkg-config already present)
- apk: pkgconf libffi-dev
- pacman: mingw-w64-x86_64-pkgconf mingw-w64-x86_64-libffi
Also note in the build docs that flex is only needed when editing the
LPC lexer; otherwise the pre-committed generated lexer is used.
2026-07-10 23:26:25 -04:00
Yucong Sun
d9e9fbf8da CI/Docker: install libffi for package_ffi on every platform
package_ffi links libffi (pkg-config). Add it to all build environments:
libffi-dev (Ubuntu, all matrix rows), libffi (macOS brew, with a
PKG_CONFIG_PATH entry since it is keg-only), mingw-w64-x86_64-libffi
(Windows/MSYS2), and libffi-dev (Alpine Dockerfile).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-09 20:48:48 -04:00
Yucong Sun
504d188838
fix: Add icu-data-full to Dockerfile for non-English encoding support (#1138)
Fixes #1133

Starting with Alpine 3.16, icu-dev only installs icu-data-en (English only).
Applications requiring non-English character handling need icu-data-full
explicitly added to the runtime image to prevent crashes when processing
non-English text.

Co-authored-by: Claude <noreply@anthropic.com>
2025-10-31 18:40:39 -07:00
Zero Huang
9eb95a8cbd
Keywork in Dockerfile should be uppercase (#1124) 2025-06-26 08:51:01 -07:00
Yucong Sun
7dfd009dd8 fix libdw builds 2023-08-21 23:38:33 -07:00
Yucong Sun
8cd9f7034d backward debug 2023-08-21 23:38:33 -07:00
Yucong Sun
d6badbbb90
Remove more error_context usage in network code (#996)
* Remove more use cases in network code on error_context

* attempt to fix osx CI

* Update ci-osx.yml

* Update Dockerfile

* Update Dockerfile

* Update CMakeLists.txt

* hack around libwebsocket ssl support

* update docker file
2023-08-17 22:30:52 -07:00
lostsnow
63292d32bc
add docker build and publish (#817)
* add dockerfile and github action

* github action version

* update dockerfile for code analysis

* change github action docker trigger
2021-06-24 02:55:34 +08:00