BP7000 and EVOLV Support #106
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
# | |
# This source file is part of the Stanford SpeziDevices open source project | |
# | |
# SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md) | |
# | |
# SPDX-License-Identifier: MIT | |
# | |
name: Build and Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
packageios: | |
name: Build and Test Swift Package iOS | |
uses: StanfordSpezi/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 | |
with: | |
runsonlabels: '["macOS", "self-hosted"]' | |
scheme: SpeziDevices-Package | |
resultBundle: SpeziDevices-iOS.xcresult | |
artifactname: SpeziDevices-iOS.xcresult | |
packageios_latest: | |
name: Build and Test Swift Package iOS Latest | |
uses: StanfordSpezi/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 | |
with: | |
runsonlabels: '["macOS", "self-hosted"]' | |
scheme: SpeziDevices-Package | |
xcodeversion: latest | |
swiftVersion: 6 | |
resultBundle: SpeziDevices-iOS-Latest.xcresult | |
artifactname: SpeziDevices-iOS-Latest.xcresult | |
ios: | |
name: Build and Test iOS | |
uses: StanfordSpezi/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 | |
with: | |
runsonlabels: '["macOS", "self-hosted"]' | |
path: 'Tests/UITests' | |
scheme: TestApp | |
resultBundle: TestApp-iOS.xcresult | |
artifactname: TestApp-iOS.xcresult | |
ios_latest: | |
name: Build and Test iOS Latest | |
uses: StanfordSpezi/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 | |
with: | |
runsonlabels: '["macOS", "self-hosted"]' | |
path: 'Tests/UITests' | |
scheme: TestApp | |
xcodeversion: latest | |
swiftVersion: 6 | |
resultBundle: TestApp-iOS-Latest.xcresult | |
artifactname: TestApp-iOS-Latest.xcresult | |
codeql: | |
name: CodeQL | |
uses: StanfordSpezi/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 | |
with: | |
codeql: true | |
test: false | |
scheme: SpeziDevices-Package | |
permissions: | |
security-events: write | |
actions: read | |
uploadcoveragereport: | |
name: Upload Coverage Report | |
needs: [packageios, ios] | |
uses: StanfordBDHG/.github/.github/workflows/create-and-upload-coverage-report.yml@v2 | |
with: | |
coveragereports: SpeziDevices-iOS.xcresult TestApp-iOS.xcresult | |
secrets: | |
token: ${{ secrets.CODECOV_TOKEN }} |