Releases/v3.4.2 (#214) #520
Workflow file for this run
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: Build | |
on: | |
push: | |
jobs: | |
build: | |
name: Run unit tests and build dynamic SDK binary | |
runs-on: macos-13 | |
steps: | |
- name: Install xcbeautify | |
run: brew install xcbeautify | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: "Baseline Unit Test Pass" | |
run: ./scripts/run-baseline-unit-test-pass.sh | |
- name: "Switch to Xcode 14.3.1" | |
run: sudo xcode-select -switch /Applications/Xcode_14.3.1.app | |
- name: "🔨 Build Dynamic XCFramework" | |
run: ".github/workflows/scripts/build.sh" | |
- name: "Upload xcframework artifact" | |
uses: actions/upload-artifact@v3 | |
with: | |
name: "MUXSDKStats.xcframework.zip" | |
path: "MUXSDKStats.xcframework.zip" | |
tests: | |
name: Test the SDK with a Demo App | |
needs: build | |
runs-on: macos-13 | |
steps: | |
- name: Install xcbeautify | |
run: brew install xcbeautify | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Download framework artifact | |
uses: actions/download-artifact@v3 | |
with: | |
name: "MUXSDKStats.xcframework.zip" | |
- name: Run cocoapods example application tests | |
run: "scripts/run-tests-cocoapods-ventura.sh" | |
- name: Run Swift package manager example application tests | |
run: "scripts/run-tests-swift-package-manager-ventura.sh" | |
build-static: | |
name: Build static SDK binary | |
runs-on: macos-13 | |
steps: | |
- name: Install xcbeautify | |
run: brew install xcbeautify | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: "Switch to Xcode 14.3.1" | |
run: sudo xcode-select -switch /Applications/Xcode_14.3.1.app | |
- name: "🔨 Build Static XCFramework" | |
run: ".github/workflows/scripts/build-static.sh" | |
- name: "Upload xcframework artifact" | |
uses: actions/upload-artifact@v3 | |
with: | |
name: "MUXSDKStats-static.xcframework.zip" | |
path: "MUXSDKStats-static.xcframework.zip" | |
tests-iOS-15: | |
name: (iOS 15) Test the SDK with a Demo App | |
needs: build | |
runs-on: macos-12 | |
steps: | |
- name: Install xcbeautify | |
run: brew install xcbeautify | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Download framework artifact | |
uses: actions/download-artifact@v3 | |
with: | |
name: "MUXSDKStats.xcframework.zip" | |
- name: Select Xcode version | |
run: sudo xcode-select -s '/Applications/Xcode_13.4.1.app/Contents/Developer' | |
- name: Run tests | |
run: "scripts/run-tests-cocoapods-monterey.sh" |