-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add GitHub Actions workflow for building XADMaster and UniversalDetec…
…tor frameworks
- Loading branch information
Showing
4 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: XADMaster | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
name: Build XADMaster and UniversalDetector frameworks | ||
runs-on: macos-12 | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- name: Create build directory | ||
working-directory: ${{github.workspace}} | ||
run: mkdir build | ||
- name: Set Xcode version | ||
uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: 13.4.1 | ||
- name: Build | ||
working-directory: ${{github.workspace}}/build | ||
run: xcodebuild -project "${{github.workspace}}/Vendor/XADMaster/XADMaster.xcodeproj" -scheme XADMaster -configuration Release -sdk macosx -derivedDataPath DerivedData | ||
- name: Zip framework bundles | ||
working-directory: ${{github.workspace}}/build/DerivedData/Build/Products/Release/ | ||
run: zip -y -r XADMaster.zip XADMaster.framework UniversalDetector.framework | ||
- name: Upload artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: XADMaster.zip | ||
path: ${{github.workspace}}/build/DerivedData/Build/Products/Release/XADMaster.zip |
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
Submodule UniversalDetector
added at
4eb832