mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-19 22:11:04 +01:00
Group pull-request runs by workflow and PR number so new commits cancel older queued or running checks. Give non-PR runs unique groups, leaving main-branch builds and tag releases independent. Validation: actionlint; workflow concurrency assertions; meson test -C build (302 passed, one skipped). Assisted-by: OpenAI Codex
31 lines
757 B
YAML
31 lines
757 B
YAML
name: arm
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
|
|
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
|
|
|
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
|