Fix ready bit not being set on I2C (#185) #549
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Checkout submodules | |
run: git submodule update --init --recursive | |
- name: Clone Acidanthera/MacKernelSDK | |
run: git clone --depth 1 https://github.com/acidanthera/MacKernelSDK.git | |
- name: get shortsha | |
id: vars | |
run: | | |
echo "sha_short=$(git rev-parse --short=8 ${{ github.sha }})" >> $GITHUB_OUTPUT | |
- name: build | |
env: | |
VOODOORMI_SHA: VoodooRMI-${{ steps.vars.outputs.sha_short }} | |
run: | | |
mkdir -p build/${VOODOORMI_SHA}/{Debug,Release} | |
xcodebuild -configuration Debug -scheme VoodooRMI -derivedDataPath build clean build | |
xcodebuild -configuration Release -scheme VoodooRMI -derivedDataPath build build | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: VoodooRMI | |
path: build/Build/Products/*/*.zip |