Skip to content

Support extensions points to handle ResearchKit lifecycle events within SwiftUI #12

Support extensions points to handle ResearchKit lifecycle events within SwiftUI

Support extensions points to handle ResearchKit lifecycle events within SwiftUI #12

Workflow file for this run

#
# This source file is part of the Stanford Biodesign Digital Health Group open-source organization
#
# SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md)
#
# SPDX-License-Identifier: MIT
#
name: Build XCArchive
on:
pull_request:
workflow_dispatch:
workflow_call:
inputs:
version:
description: 'The version number of the framework embedded in the XCArchives.'
type: string
required: true
jobs:
create-xcframework-and-release-workflow:
uses: StanfordBDHG/.github/.github/workflows/xcframework.yml@v2
with:
workspaceFile: RKWorkspace.xcworkspace
xcFrameworkName: ResearchKit
scheme: ResearchKit
dryRun: true
version: ${{ inputs.version }}
configuration: Release
runsonlabels: '["macOS", "self-hosted"]'
sdk: '["iphoneos", "iphonesimulator", "xros", "xrsimulator"]'
ios:
name: Build and Test iOS
uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2
with:
path: 'Tests/UITests'
scheme: TestApp
resultBundle: TestApp-iOS.xcresult
artifactname: TestApp-iOS.xcresult
uploadcoveragereport:
name: Upload Coverage Report
needs: [ios]
uses: StanfordBDHG/.github/.github/workflows/create-and-upload-coverage-report.yml@v2
with:
coveragereports: TestApp-iOS.xcresult