Files
harfbuzz/.github/workflows/arm.yml
Behdad Esfahbod 22fa39d796 [cmake] Compile core sources individually (#6243)
* [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>
2026-09-06 15:22:04 -06:00

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