Skip to content

Commit

Permalink
chore: add 15.1
Browse files Browse the repository at this point in the history
  • Loading branch information
blacktop committed Nov 24, 2024
1 parent aa6db43 commit 0efecd8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
macos-version: [ '15.0' ]
macos-version: [ '15.1' ]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -31,7 +31,7 @@ jobs:
# brew update
brew install bash blacktop/tap/ipsw
# sudo ipsw dl kdk --host --install
sudo xcode-select -s /Applications/Xcode_15.3.app
sudo xcode-select -s /Applications/Xcode_16.0.app
- name: kmutil help # This is to check for what flags are available
run: |
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
| macOS 14.5 || [DB](https://github.com/blacktop/darwin-xnu-build/releases/download/v14.5/xnu-codeql.zip) | ✅ / ✅ |
| macOS 14.6 || [DB](https://github.com/blacktop/darwin-xnu-build/releases/download/v14.6/xnu-codeql.zip) | ❔ / ❔ |
| macOS 15.0 || [DB](https://github.com/blacktop/darwin-xnu-build/releases/download/v15.0/xnu-codeql.zip) | ✅ / ✅ |
| macOS 15.1 || [DB](https://github.com/blacktop/darwin-xnu-build/releases/download/v15.1/xnu-codeql.zip) | ❔ / ❔ |

> [!NOTE]
> CodeQL DBs built with `MACHINE_CONFIG=VMAPPLE`
Expand Down
10 changes: 8 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ install_ipsw() {
choose_xnu() {
if [ -z "$MACOS_VERSION" ]; then
gum style --border normal --margin "1" --padding "1 2" --border-foreground 212 "Choose $(gum style --foreground 212 'macOS') version to build:"
MACOS_VERSION=$(gum choose "12.5" "13.0" "13.1" "13.2" "13.3" "13.4" "13.5" "14.0" "14.1" "14.2" "14.3" "14.4" "14.5" "14.6" "15.0")
MACOS_VERSION=$(gum choose "12.5" "13.0" "13.1" "13.2" "13.3" "13.4" "13.5" "14.0" "14.1" "14.2" "14.3" "14.4" "14.5" "14.6" "15.0" "15.1")
fi
TIGHTBEAMC="tightbeamc-not-supported"
case ${MACOS_VERSION} in
Expand Down Expand Up @@ -226,6 +226,12 @@ choose_xnu() {
KDKROOT='/Library/Developer/KDKs/KDK_15.0_24A335.kdk'
RC_DARWIN_KERNEL_VERSION='24.0.0'
;;
'15.1')
RELEASE_URL='https://raw.githubusercontent.com/apple-oss-distributions/distribution-macOS/macos-151/release.json'
KDK_NAME='Kernel Debug Kit 15.1 build 24B83'
KDKROOT='/Library/Developer/KDKs/KDK_15.1_24B83.kdk'
RC_DARWIN_KERNEL_VERSION='24.1.0'
;;
*)
error "Invalid xnu version"
exit 1
Expand Down Expand Up @@ -291,7 +297,7 @@ patches() {
'14.4' | '14.5')
PATCH_DIR="${WORK_DIR}/patches/14.4"
;;
'14.6' | '15.0')
'14.6' | '15.0' | '15.1')
PATCH_DIR="${WORK_DIR}/patches/15.0"
;;
*)
Expand Down

0 comments on commit 0efecd8

Please sign in to comment.