kexts: update AMFIPass to 1.4.0 #24
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: | |
release: | |
types: [published] | |
jobs: | |
build-intel-wifi: | |
name: Build (Intel WiFi) | |
runs-on: macos-13 | |
steps: | |
- name: Build | |
uses: actions/checkout@v3 | |
- run: mkdir Output && zip --exclude '*.git*' --exclude '*.github*' --exclude '*Output*' -r -X "Output/${{ github.event.repository.name }}-${{github.ref_name}}-Intel-WiFi.zip" . | |
- name: Upload to Artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Artifacts | |
path: Output/*.zip | |
- name: Upload to Release | |
if: github.event_name == 'release' | |
uses: svenstaro/upload-release-action@e74ff71f7d8a4c4745b560a485cc5fdb9b5b999d | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: Output/*.zip | |
tag: ${{ github.ref }} | |
file_glob: true | |
build-no-wifi: | |
name: Build (no WiFi / HoRNDIS / native AirPort) | |
runs-on: macos-13 | |
steps: | |
- name: Build | |
uses: actions/checkout@v3 | |
- run: plutil -replace "Kernel"."Add".0."Enabled" -bool false EFI/OC/config.plist | |
- run: plutil -replace "Kernel"."Add".1."Enabled" -bool false EFI/OC/config.plist | |
- run: plutil -replace "Kernel"."Add".4."Enabled" -bool true EFI/OC/config.plist | |
- run: plutil -replace "Kernel"."Add".5."Enabled" -bool false EFI/OC/config.plist | |
- run: plutil -replace "Kernel"."Add".28."Enabled" -bool false EFI/OC/config.plist | |
- run: plutil -replace "Kernel"."Add".32."Enabled" -bool false EFI/OC/config.plist | |
- run: mkdir Output && zip --exclude '*.git*' --exclude '*.github*' --exclude '*Output*' -r -X "Output/${{ github.event.repository.name }}-${{github.ref_name}}-no-WiFi-HoRNDIS.zip" . | |
- name: Upload to Artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Artifacts | |
path: Output/*.zip | |
- name: Upload to Release | |
if: github.event_name == 'release' | |
uses: svenstaro/upload-release-action@e74ff71f7d8a4c4745b560a485cc5fdb9b5b999d | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: Output/*.zip | |
tag: ${{ github.ref }} | |
file_glob: true | |
build-broadcom-wifi: | |
name: Build (Broadcom WiFi) | |
runs-on: macos-13 | |
steps: | |
- name: Build | |
uses: actions/checkout@v3 | |
- run: plutil -replace "Kernel"."Add".0."Enabled" -bool false EFI/OC/config.plist | |
- run: plutil -replace "Kernel"."Add".1."Enabled" -bool false EFI/OC/config.plist | |
- run: plutil -replace "Kernel"."Add".2."Enabled" -bool true EFI/OC/config.plist | |
- run: plutil -replace "Kernel"."Add".3."Enabled" -bool true EFI/OC/config.plist | |
- run: plutil -replace "Kernel"."Add".4."Enabled" -bool false EFI/OC/config.plist | |
- run: plutil -replace "Kernel"."Add".5."Enabled" -bool false EFI/OC/config.plist | |
- run: plutil -replace "Kernel"."Add".16."Enabled" -bool true EFI/OC/config.plist | |
- run: plutil -replace "Kernel"."Add".17."Enabled" -bool true EFI/OC/config.plist | |
- run: plutil -replace "Kernel"."Add".18."Enabled" -bool true EFI/OC/config.plist | |
- run: plutil -replace "Kernel"."Add".28."Enabled" -bool false EFI/OC/config.plist | |
- run: mkdir Output && zip --exclude '*.git*' --exclude '*.github*' --exclude '*Output*' -r -X "Output/${{ github.event.repository.name }}-${{github.ref_name}}-Broadcom-WiFi-Ventura.zip" . | |
- name: Upload to Artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Artifacts | |
path: Output/*.zip | |
- name: Upload to Release | |
if: github.event_name == 'release' | |
uses: svenstaro/upload-release-action@e74ff71f7d8a4c4745b560a485cc5fdb9b5b999d | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: Output/*.zip | |
tag: ${{ github.ref }} | |
file_glob: true | |
build-broadcom-sonoma-wifi: | |
name: Build (Broadcom WiFi (Sonoma)) | |
runs-on: macos-13 | |
steps: | |
- name: Build | |
uses: actions/checkout@v3 | |
- run: plutil -replace "Kernel"."Add".0."Enabled" -bool false EFI/OC/config.plist | |
- run: plutil -replace "Kernel"."Add".1."Enabled" -bool false EFI/OC/config.plist | |
- run: plutil -replace "Kernel"."Add".2."Enabled" -bool true EFI/OC/config.plist | |
- run: plutil -replace "Kernel"."Add".3."Enabled" -bool true EFI/OC/config.plist | |
- run: plutil -replace "Kernel"."Add".4."Enabled" -bool false EFI/OC/config.plist | |
- run: plutil -replace "Kernel"."Add".5."Enabled" -bool false EFI/OC/config.plist | |
- run: plutil -replace "Kernel"."Add".13."Enabled" -bool true EFI/OC/config.plist | |
- run: plutil -replace "Kernel"."Add".14."Enabled" -bool true EFI/OC/config.plist | |
- run: plutil -replace "Kernel"."Add".16."Enabled" -bool true EFI/OC/config.plist | |
- run: plutil -replace "Kernel"."Add".16."Enabled" -bool true EFI/OC/config.plist | |
- run: plutil -replace "Kernel"."Add".17."Enabled" -bool true EFI/OC/config.plist | |
- run: plutil -replace "Kernel"."Add".18."Enabled" -bool true EFI/OC/config.plist | |
- run: plutil -replace "Kernel"."Add".19."Enabled" -bool true EFI/OC/config.plist | |
- run: plutil -replace "Kernel"."Add".28."Enabled" -bool false EFI/OC/config.plist | |
- run: plutil -replace "Kernel"."Block".0."Enabled" -bool true EFI/OC/config.plist | |
- run: plutil -replace "NVRAM"."Add"."7C436110-AB2A-4BBB-A880-FE41995C9F82"."csr-active-config" -data AwgAAA== EFI/OC/config.plist | |
- run: plutil -replace "NVRAM"."Add"."7C436110-AB2A-4BBB-A880-FE41995C9F82"."boot-args" -string "-v keepsyms=1 debug=0x100 revpatch=sbvmm ipc_control_port_options=0 amfi=0x80" EFI/OC/config.plist | |
- run: plutil -replace "Misc"."Security"."SecureBootModel" -string "Disabled" EFI/OC/config.plist | |
- run: mkdir Output && zip --exclude '*.git*' --exclude '*.github*' --exclude '*Output*' -r -X "Output/${{ github.event.repository.name }}-${{github.ref_name}}-Broadcom-WiFi-Sonoma.zip" . | |
- name: Upload to Artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Artifacts | |
path: Output/*.zip | |
- name: Upload to Release | |
if: github.event_name == 'release' | |
uses: svenstaro/upload-release-action@e74ff71f7d8a4c4745b560a485cc5fdb9b5b999d | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: Output/*.zip | |
tag: ${{ github.ref }} | |
file_glob: true | |