Ps2 coop (#4) #87
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 | |
- name: get shortsha | |
id: vars | |
run: | | |
echo ::set-output name=sha_short::$(git rev-parse --short=8 ${{ github.sha }}) | |
- name: Get SDK | |
run: | | |
git clone --depth 1 https://github.com/acidanthera/MacKernelSDK.git | |
- name: build | |
env: | |
VOODOOSMBUS_SHA: VoodooSMBus-${{ steps.vars.outputs.sha_short }} | |
run: | | |
mkdir build | |
xcodebuild -scheme VoodooSMBus build CONFIGURATION_BUILD_DIR=build/${VOODOOSMBUS_SHA} | |
mv build/${VOODOOSMBUS_SHA}/VoodooSMBus.kext build/${VOODOOSMBUS_SHA}/${VOODOOSMBUS_SHA}.kext | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: VoodooSMBus | |
path: build/VoodooSMBus-* | |