add build workflow, remove redundant validate workflow

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-03 19:07:50 +01:00
parent 5e29ef63d4
commit 859c26f64c

36
.github/workflows/build.yml vendored Normal file
View File

@@ -0,0 +1,36 @@
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: validate layouts
run: python3 scripts/validate_layouts.py
- name: build bundle
run: bash scripts/build-bundle.sh
- name: create DMG
run: bash scripts/create-dmg.sh
- name: upload DMG
uses: actions/upload-artifact@v4
with:
name: EurKEY-macOS-DMG
path: build/*.dmg