From f5715c8f96426a048378c0740a193ab97d0c4e12 Mon Sep 17 00:00:00 2001 From: Lorys89 <64613690+Lorys89@users.noreply.github.com> Date: Mon, 12 Jun 2023 19:36:55 +0200 Subject: [PATCH 1/2] Update GenericCardReaderFriend.cpp --- GenericCardReaderFriend/GenericCardReaderFriend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GenericCardReaderFriend/GenericCardReaderFriend.cpp b/GenericCardReaderFriend/GenericCardReaderFriend.cpp index a34f33e..e4550c6 100644 --- a/GenericCardReaderFriend/GenericCardReaderFriend.cpp +++ b/GenericCardReaderFriend/GenericCardReaderFriend.cpp @@ -209,6 +209,6 @@ PluginConfiguration ADDPR(config) = bootargBeta, arrsize(bootargBeta), KernelVersion::ElCapitan, - KernelVersion::Ventura, + KernelVersion::Sonoma, start }; From 62c8299259938e94f628540b986a81845cd6a362 Mon Sep 17 00:00:00 2001 From: Lorys89 <64613690+Lorys89@users.noreply.github.com> Date: Mon, 12 Jun 2023 19:38:22 +0200 Subject: [PATCH 2/2] Create c-cpp.yml --- .github/workflows/c-cpp.yml | 46 +++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .github/workflows/c-cpp.yml diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml new file mode 100644 index 0000000..eefc621 --- /dev/null +++ b/.github/workflows/c-cpp.yml @@ -0,0 +1,46 @@ +name: CI + +on: + push: + pull_request: + workflow_dispatch: + release: + types: [published] + +env: + PROJECT_TYPE: KEXT + +jobs: + build: + name: Build + runs-on: macos-latest + env: + JOB_TYPE: BUILD + steps: + - uses: actions/checkout@v3 + - uses: actions/checkout@v3 + with: + repository: acidanthera/MacKernelSDK + path: MacKernelSDK + - name: CI Bootstrap + run: | + src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/ocbuild/master/ci-bootstrap.sh) && eval "$src" || exit 1 + - name: Lilu Bootstrap + run: | + src=$(/usr/bin/curl -Lfs https://raw.githubusercontent.com/acidanthera/Lilu/master/Lilu/Scripts/bootstrap.sh) && eval "$src" || exit 1 + - run: xcodebuild -jobs 1 -configuration Debug + - run: xcodebuild -jobs 1 -configuration Release + + - name: Upload to Artifacts + uses: actions/upload-artifact@v3 + with: + name: Artifacts + path: build/*/*.zip + - name: Upload to Release + if: github.event_name == 'release' + uses: svenstaro/upload-release-action@e74ff71f7d8a4c4745b560a485cc5fdb9b5b999d + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: build/*/*.zip + tag: ${{ github.ref }} + file_glob: true