mirror of
https://github.com/felixfoertsch/EurKEY-macOS.git
synced 2026-04-17 06:58:29 +02:00
- fix modifier key order to Apple canonical: Option+Shift (not Shift+Option) across parser, validator, PDF generator, website keyboard viewer, README - add EU badge template icons for v1.2/v1.3/v1.4 matching Apple's built-in keyboard layout icon style (edge-to-edge rounded square, text knockout) - add build-icons.sh to generate .icns from SVG source via rsvg-convert - rename create-dmg.sh → build-dmg.sh, update CI workflows - add website feature icons (install, pdf, versions) - update website icon to star-on-key design Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
45 lines
883 B
YAML
45 lines
883 B
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
paths:
|
|
- 'EurKey-macOS.bundle/**'
|
|
- 'scripts/**'
|
|
- 'spec/**'
|
|
pull_request:
|
|
paths:
|
|
- 'EurKey-macOS.bundle/**'
|
|
- 'scripts/**'
|
|
- 'spec/**'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: macos-latest
|
|
steps:
|
|
- name: checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: setup Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.12'
|
|
|
|
- name: install Python dependencies
|
|
run: pip install fpdf2
|
|
|
|
- name: build bundle
|
|
run: bash scripts/build-bundle.sh
|
|
|
|
- name: validate layouts
|
|
run: python3 scripts/validate_layouts.py
|
|
|
|
- name: create DMG
|
|
run: bash scripts/build-dmg.sh
|
|
|
|
- name: upload DMG
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: EurKEY-macOS-DMG
|
|
path: build/*.dmg
|