forked from ResearchKit/ResearchKit
-
Notifications
You must be signed in to change notification settings - Fork 3
39 lines (36 loc) · 1.19 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#
# 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:
build-xcarchive:
uses: StanfordBDHG/.github/.github/workflows/archive.yml@v2
strategy:
matrix:
include:
- configuration: Release
cxxInterop: false
- configuration: Debug # It's only possible to build ResearchKit with enabled C++ interop in Debug configuration
cxxInterop: true
with:
workspaceFile: RKWorkspace.xcworkspace
xcArchiveName: ResearchKit-${{ matrix.configuration }}
scheme: ResearchKit
version: ${{ inputs.version }}
configuration: ${{ matrix.configuration }}
cxxInterop: ${{ matrix.cxxInterop }}
sdk: '["iphoneos", "iphonesimulator", "xros", "xrsimulator"]'
runsonlabels: '["macOS", "self-hosted"]'