Skip to content

IntelBTPatcher: compat for Sequoia, different from other version os m… #91

IntelBTPatcher: compat for Sequoia, different from other version os m…

IntelBTPatcher: compat for Sequoia, different from other version os m… #91

Workflow file for this run

name: CI
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Get Lilu SHA
id: get-lilu-sha
run: |
echo "hash=$(git ls-remote https://github.com/acidanthera/Lilu.git HEAD | awk '{ print $1 }')" >> "$GITHUB_OUTPUT"
- name: Cache Lilu
id: cache-lilu
uses: actions/cache@v4
with:
path: Lilu.kext
key: Lilu-${{ steps.get-lilu-sha.outputs.hash }}
- name: Install MacKernelSDK
run: |
git clone --depth=1 https://github.com/acidanthera/MacKernelSDK.git
- name: Install Lilu SDK
if: steps.cache-lilu.outputs.cache-hit != 'true'
run: |
git clone --depth=1 https://github.com/acidanthera/Lilu.git
cd Lilu || exit 1
ln -s ../MacKernelSDK MacKernelSDK
xcodebuild -configuration Debug -arch x86_64 | xcpretty && ret=${PIPESTATUS[0]}
if [[ $ret -ne 0 || ! -d build/Debug/Lilu.kext ]]; then
exit 1
fi
cp -R build/Debug/Lilu.kext ../
- name: Debug Build
run: |
xcodebuild -alltargets -configuration Debug | xcpretty && exit ${PIPESTATUS[0]}
- name: Release Build
run: |
xcodebuild -alltargets -configuration Release | xcpretty && exit ${PIPESTATUS[0]}
- name: Upload to Artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ github.event.repository.name }}
path: build/*/*.zip
if-no-files-found: error