mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-19 14:01:10 +01:00
* [cmake] Compile core sources individually CMake built libharfbuzz from the amalgamated harfbuzz.cc source, placing all core symbols in one archive member. Static consumers linking an auxiliary library before libharfbuzz then pulled duplicate internal definitions into the final link. Derive the core source list from harfbuzz.cc and compile each source separately, matching the Meson archive layout. Fixes: https://github.com/harfbuzz/harfbuzz/issues/5683 Assisted-by: OpenAI Codex <codex@openai.com> * [ci] Make CMake static build explicit Set BUILD_SHARED_LIBS=OFF on the ARM CMake job so changes to static archive construction have intentional CI coverage. Assisted-by: OpenAI Codex <codex@openai.com>
27 lines
589 B
YAML
27 lines
589 B
YAML
name: arm
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
arm-none-eabi:
|
|
runs-on: ubuntu-22.04
|
|
container:
|
|
image: devkitpro/devkitarm:latest
|
|
steps:
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
- name: Configure CMake
|
|
run: |
|
|
cmake -S . -B build \
|
|
-DBUILD_SHARED_LIBS=OFF \
|
|
-DCMAKE_TOOLCHAIN_FILE=${DEVKITPRO}/cmake/3DS.cmake
|
|
- name: Build
|
|
run: make CXX_FLAGS="-w -DHB_NO_MT"
|
|
working-directory: build
|