Skip to content

Revert make package in .github/workflows/ci.yml #301

Revert make package in .github/workflows/ci.yml

Revert make package in .github/workflows/ci.yml #301

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: brew install
run: brew install xcodegen
# Regarding `make package`, the build fails because the Xcode environment on GitHub Actions is not set up for DriverKit builds.
# Specifically, the following error occurs. Therefore, `make package` is not executed in CI.
#
# Error when not using `-allowProvisioningUpdates`:
#
# error: No profiles for 'org.pqrs.Karabiner-DriverKit-VirtualHIDDevice' were found: Xcode couldn't find any DriverKit App Development provisioning profiles matching 'org.pqrs.Karabiner-DriverKit-VirtualHIDDevice'.
# Automatic signing is disabled and unable to generate a profile.
# To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. (in target 'Karabiner-DriverKit-VirtualHIDDevice' from project 'Karabiner-DriverKit-VirtualHIDDevice')
#
#
# Error when using `-allowProvisioningUpdates`:
#
# error: No Accounts: Add a new account in Accounts settings. (in target 'Karabiner-DriverKit-VirtualHIDDevice' from project 'Karabiner-DriverKit-VirtualHIDDevice')
# error: No profiles for 'org.pqrs.Karabiner-DriverKit-VirtualHIDDevice' were found: Xcode couldn't find any DriverKit App Development provisioning profiles matching 'org.pqrs.Karabiner-DriverKit-VirtualHIDDevice'.
# (in target 'Karabiner-DriverKit-VirtualHIDDevice' from project 'Karabiner-DriverKit-VirtualHIDDevice')
# - name: package
# run: make package
- name: examples
run: make -C examples
- name: tests
run: make -C tests