Skip to content

DIA-4457 remove legacy fallback metadata call #1494

DIA-4457 remove legacy fallback metadata call

DIA-4457 remove legacy fallback metadata call #1494

Workflow file for this run

name: Test
on:
workflow_dispatch:
push:
branches: [ develop, legacy/v6 ]
pull_request:
branches: [ develop, legacy/v6 ]
defaults:
run:
working-directory: Example
jobs:
lint:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- run: brew install swiftlint
- run: swiftlint lint
BuildSwiftPackage:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- run: sudo xcode-select -s /Applications/Xcode_15.3.app
- name: Building Swift Package
run: xcodebuild clean build -scheme SPMBuild -workspace ConsentViewController.xcworkspace -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.4'
- uses: actions/upload-artifact@v4
if: failure()
name: Upload Swift Package build results
with:
path: /Users/runner/Library/Developer/Xcode/DerivedData/**/*.xcresult
BuildCarthageProject:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- run: sudo xcode-select -s /Applications/Xcode_15.3.app
- name: Building Carthage Project
run: cd ./SPCarthageTest && ./build.sh
ObjC-ExampleApp-tests:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- run: sudo xcode-select -s /Applications/Xcode_15.3.app
- name: ObjC-ExampleApp testing -> iPhone 15 (iOS 17.4)
run: xcodebuild test -scheme ObjC-ExampleApp -workspace ConsentViewController.xcworkspace -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.4'
- uses: actions/upload-artifact@v4
if: failure()
name: Upload ObjCExampleApp tests results
with:
path: /Users/runner/Library/Developer/Xcode/DerivedData/**/*.xcresult
ConsentViewController:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- run: sudo xcode-select -s /Applications/Xcode_15.3.app
- name: ConsentViewController testing -> iPhone 15 (iOS 17.4)
run: xcodebuild test -scheme ConsentViewController_Example -workspace ConsentViewController.xcworkspace -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.4'
- uses: actions/upload-artifact@v4
if: failure()
name: Upload ConsentViewController tests results
with:
path: /Users/runner/Library/Developer/Xcode/DerivedData/**/*.xcresult
AuthExample-tests:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- run: sudo xcode-select -s /Applications/Xcode_15.3.app
- name: ConsentViewController testing -> iPhone 15 (iOS 17.4)
run: xcodebuild test -scheme AuthExample -workspace ConsentViewController.xcworkspace -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.4'
- uses: actions/upload-artifact@v4
if: failure()
name: Upload ConsentViewController tests results
with:
path: /Users/runner/Library/Developer/Xcode/DerivedData/**/*.xcresult
TVOSExampleApp:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- run: sudo xcode-select -s /Applications/Xcode_15.3.app
- name: ConsentViewController testing -> Apple TV (tvOS 17.4)
run: xcodebuild test -scheme TVOSExampleApp -workspace ConsentViewController.xcworkspace -destination 'platform=tvOS Simulator,name=Apple TV,OS=17.4'
- uses: actions/upload-artifact@v4
if: failure()
name: Upload TVOSExampleApp tests results
with:
path: /Users/runner/Library/Developer/Xcode/DerivedData/**/*.xcresult