From 76ed58e60528e4748b3b3ff4407808b4c6c1ec1c Mon Sep 17 00:00:00 2001 From: FireWolf Date: Thu, 11 Nov 2021 17:48:19 -0800 Subject: [PATCH] Add the archive script and the release scheme. --- .github/workflows/main.yml | 51 -------------- .../RealtekCardReaderFriend (Debug).xcscheme | 67 +++++++++++++++++++ ...RealtekCardReaderFriend (Release).xcscheme | 67 +++++++++++++++++++ 3 files changed, 134 insertions(+), 51 deletions(-) delete mode 100644 .github/workflows/main.yml create mode 100644 RealtekCardReaderFriend.xcodeproj/xcshareddata/xcschemes/RealtekCardReaderFriend (Debug).xcscheme create mode 100644 RealtekCardReaderFriend.xcodeproj/xcshareddata/xcschemes/RealtekCardReaderFriend (Release).xcscheme diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 8293a9b..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,51 +0,0 @@ -name: CI - -# Controls when the workflow will run -on: - # Trigger the workflow on push or pull request events - push: - pull_request: - # Allow to run this workflow manually from the Actions tab - workflow_dispatch: - # Run the workflow for published releases - release: - types: [published] - -jobs: - # Build the kext - build: - name: Build - runs-on: macos-latest - steps: - # Checkout the card reader repo - - uses: actions/checkout@v2 - # Checkout the MacKernelSDK repo - - uses: actions/checkout@v2 - with: - repository: acidanthera/MacKernelSDK - path: MacKernelSDK - # Build the driver - - run: xcodebuild -jobs 3 -configuration Debug - - run: xcodebuild -jobs 3 -configuration Release - # Upload the driver - - name: Upload to Artifacts - uses: actions/upload-artifact@v2 - with: - name: Artifacts - path: build/*/*.zip - - # Analyze the kext - analyze: - name: Analyze - runs-on: macos-latest - steps: - # Checkout the card reader repo - - uses: actions/checkout@v2 - # Checkout the MacKernelSDK repo - - uses: actions/checkout@v2 - with: - repository: acidanthera/MacKernelSDK - path: MacKernelSDK - # Analyze the driver - - run: xcodebuild analyze -quiet -scheme RealtekCardReaderFriend -configuration Debug CLANG_ANALYZER_OUTPUT=plist-html CLANG_ANALYZER_OUTPUT_DIR="$(pwd)/clang-analyze" && [ "$(find clang-analyze -name "*.html")" = "" ] - - run: xcodebuild analyze -quiet -scheme RealtekCardReaderFriend -configuration Release CLANG_ANALYZER_OUTPUT=plist-html CLANG_ANALYZER_OUTPUT_DIR="$(pwd)/clang-analyze" && [ "$(find clang-analyze -name "*.html")" = "" ] diff --git a/RealtekCardReaderFriend.xcodeproj/xcshareddata/xcschemes/RealtekCardReaderFriend (Debug).xcscheme b/RealtekCardReaderFriend.xcodeproj/xcshareddata/xcschemes/RealtekCardReaderFriend (Debug).xcscheme new file mode 100644 index 0000000..d3bded6 --- /dev/null +++ b/RealtekCardReaderFriend.xcodeproj/xcshareddata/xcschemes/RealtekCardReaderFriend (Debug).xcscheme @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/RealtekCardReaderFriend.xcodeproj/xcshareddata/xcschemes/RealtekCardReaderFriend (Release).xcscheme b/RealtekCardReaderFriend.xcodeproj/xcshareddata/xcschemes/RealtekCardReaderFriend (Release).xcscheme new file mode 100644 index 0000000..31057a0 --- /dev/null +++ b/RealtekCardReaderFriend.xcodeproj/xcshareddata/xcschemes/RealtekCardReaderFriend (Release).xcscheme @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + +