Skip to content

HWLibs: Light cleanup, use native register funcs for SDMA #1459

HWLibs: Light cleanup, use native register funcs for SDMA

HWLibs: Light cleanup, use native register funcs for SDMA #1459

Workflow file for this run

name: CI
on:
push:
branches:
- "*"
tags:
- "v*"
pull_request:
workflow_dispatch:
jobs:
build:
name: Build
runs-on: macos-latest
permissions:
contents: write
discussions: write
steps:
- if: github.repository != 'ChefKissInc/NootedRed'
run: |
cat << 'EOF' >> $GITHUB_STEP_SUMMARY
# 🛑 STOP!
## You were likely sent here by an unofficial, outdated and SHIT tutorial
This project is actually the result of one sole developer, [Visual](https://github.com/VisualEhrmanntraut) (me).
**WE DO NOT RECOMMEND, ENDORSE, OR WORK WITH THEM!** They contain incorrect information, drive users away from official documentation, and hurt this project by preventing us from receiving support through donations.
You **do not** need to fork this repository or log into GitHub to download this!
👉 Please use the official links (linked below, continue reading).
Also spread the word if you want! :)
### ❤️ Support our Hard Work by Donating
* **Using PayPal or credit/debit card:** [through ko-fi](https://ko-fi.com/chefkiss)
* **Using BTC:** `bc1qgu56kptepex2csuzl5nhzc4vxuj8c6ggjzhcem`
* **Using SOL:** `4PJU3iB5rimN9BNcpzduvmTnptJyedZiAd23so33SAdi`
* **Using ETH:** `0x038A25849c23Bc5A736484351a8B6Ad71bC46676`
With enough support, I could even give back to the volunteers (if they wish).
### 🔬 Official Resources
* 🚀 **Bleeding-Edge / Nightly Builds (No login required!) + Usage information**: [Click here](https://chefkiss.dev/applehax/nootedred/)
* 📚 **Official ChefKiss Guide**: [Click here](https://chefkiss.dev/guides/hackintosh/)
* ⬇️ **Official Stable Releases**: [Click here](https://github.com/ChefKissInc/NootedRed/releases)
* 💬 **Telegram supergroup**: Link located in the navigation bar of the [official website](https://chefkiss.dev) (not linked directly to prevent scraper-powered bots)
**Bonus:** Me and [my colleague](https://github.com/chris-pcguy) have created a cross-platform (Windows, Linux, macOS) iOS emulator called Inferno, and this year it will also support macOS! [Click here](https://chefkiss.dev/applehax/inferno/)
Happy Hackintoshing!
EOF
exit 1
- uses: actions/checkout@v7
with:
submodules: "recursive"
- run: xcodebuild -configuration Debug -arch x86_64 build
- run: xcodebuild -configuration Research\ Release -arch x86_64 build
- run: xcodebuild -configuration Release -arch x86_64 build
- name: Upload to Artifacts
uses: actions/upload-artifact@v7
with:
name: Artifacts
path: build/*/*.zip
- name: Upload build
if: startsWith(github.ref, 'refs/tags/')
run: |
shopt -s nullglob
files=(build/*/*.zip)
[ ${#files[@]} -gt 0 ] || { echo "No zip files found"; exit 1; }
NOTES=$(awk -v ver="${{ github.ref_name }}" '
$0 ~ "^## " ver "([[:space:]]|$)" {flag=1; next}
/^## / {flag=0}
flag
' CHANGELOG.md | sed 's/^### /## /')
[ -n "$NOTES" ] || {
echo "No changelog entry found for ${{ github.ref_name }}"
exit 1
}
echo "$NOTES" | gh release create "${{ github.ref_name }}" "${files[@]}" \
-t "${{ github.ref_name }}" \
--verify-tag \
--fail-on-no-commits \
--discussion-category Announcements \
-F -
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
analyse-clang:
name: Analyse Clang
runs-on: macos-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v7
with:
submodules: "recursive"
- run: xcodebuild analyze -quiet -configuration Debug -arch x86_64 CLANG_ANALYZER_OUTPUT=plist-html CLANG_ANALYZER_OUTPUT_DIR="$(pwd)/clang-analyze" && [ "$(find clang-analyze -name "*.html")" = "" ]
- run: xcodebuild analyze -quiet -configuration Research\ Release -arch x86_64 CLANG_ANALYZER_OUTPUT=plist-html CLANG_ANALYZER_OUTPUT_DIR="$(pwd)/clang-analyze" && [ "$(find clang-analyze -name "*.html")" = "" ]
- run: xcodebuild analyze -quiet -configuration Release -arch x86_64 CLANG_ANALYZER_OUTPUT=plist-html CLANG_ANALYZER_OUTPUT_DIR="$(pwd)/clang-analyze" && [ "$(find clang-analyze -name "*.html")" = "" ]