Skip to content

Improve ci.yml

Improve ci.yml #1333

Workflow file for this run

name: Karabiner-Elements CI
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: macos-14
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
# Call xcode-select explicitly to avoid the following error.
#
# ```
# xcrun: error: unable to lookup item 'SDKVersion' in SDK '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk'
#```
- name: xcode-select
run: sudo xcode-select -s /Applications/Xcode_15.0.1.app
- name: brew install
run: brew install xcodegen
- name: package
run: make package
- name: appendix
run: ruby scripts/reduce-logs.rb 'make -C appendix'
- name: tests
run: ruby scripts/reduce-logs.rb 'make -C tests'