Skip to content

build: add privacy manifest file #597

build: add privacy manifest file

build: add privacy manifest file #597

Workflow file for this run

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: "Switch to Xcode 15.2"
run: sudo xcode-select -switch /Applications/Xcode_15.2.app
- name: "Baseline Unit Test Pass"
run: ./scripts/run-baseline-unit-test-pass.sh
- 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: "Switch to Xcode 15.2"
run: sudo xcode-select -switch /Applications/Xcode_15.2.app
- 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 15.2"
run: sudo xcode-select -switch /Applications/Xcode_15.2.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: "Switch to Xcode 13.4.1"
run: sudo xcode-select -s '/Applications/Xcode_13.4.1.app/Contents/Developer'
- name: Run tests
run: "scripts/run-tests-cocoapods-monterey.sh"