generated from StanfordSpezi/SpeziTemplateApplication
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit c6bce56
Showing
188 changed files
with
7,668 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"projects": { | ||
"default": "stanfordspezitemplateapp" | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
This source file is part of the Stanford Spezi Template Application open-source project | ||
|
||
SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md) | ||
|
||
SPDX-License-Identifier: MIT |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# | ||
# This source file is part of the Stanford Spezi Template Application open-source project | ||
# | ||
# SPDX-FileCopyrightText: 2023 Stanford University | ||
# | ||
# SPDX-License-Identifier: MIT | ||
# | ||
|
||
name: Beta Deployment | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
jobs: | ||
buildandtest: | ||
name: Build and Test | ||
uses: ./.github/workflows/build-and-test.yml | ||
permissions: | ||
contents: read | ||
secrets: inherit | ||
iosapptestflightdeployment: | ||
name: iOS App TestFlight Deployment | ||
needs: buildandtest | ||
uses: StanfordSpezi/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 | ||
permissions: | ||
contents: read | ||
with: | ||
googleserviceinfoplistpath: 'TemplateApplication/Supporting Files/GoogleService-Info.plist' | ||
setupsigning: true | ||
fastlanelane: beta | ||
secrets: inherit | ||
deployfirebase: | ||
name: Deploy Firebase Project | ||
needs: iosapptestflightdeployment | ||
uses: StanfordBDHG/.github/.github/workflows/firebase-deploy.yml@v2 | ||
permissions: | ||
contents: read | ||
with: | ||
arguments: '--debug' | ||
secrets: | ||
GOOGLE_APPLICATION_CREDENTIALS_BASE64: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_BASE64 }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# | ||
# This source file is part of the Stanford Spezi Template Application open-source project | ||
# | ||
# SPDX-FileCopyrightText: 2023 Stanford University | ||
# | ||
# SPDX-License-Identifier: MIT | ||
# | ||
|
||
name: Build and Test | ||
|
||
on: | ||
pull_request: | ||
workflow_dispatch: | ||
workflow_call: | ||
|
||
jobs: | ||
reuse_action: | ||
name: REUSE Compliance Check | ||
uses: StanfordBDHG/.github/.github/workflows/reuse.yml@v2 | ||
permissions: | ||
contents: read | ||
swiftlint: | ||
name: SwiftLint | ||
uses: StanfordBDHG/.github/.github/workflows/swiftlint.yml@v2 | ||
permissions: | ||
contents: read | ||
markdownlinkcheck: | ||
name: Markdown Link Check | ||
uses: StanfordBDHG/.github/.github/workflows/markdown-link-check.yml@v2 | ||
permissions: | ||
contents: read | ||
buildandtest: | ||
name: Build and Test | ||
uses: StanfordSpezi/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 | ||
permissions: | ||
contents: read | ||
with: | ||
artifactname: TemplateApplication.xcresult | ||
runsonlabels: '["macOS", "self-hosted"]' | ||
setupSimulators: true | ||
setupfirebaseemulator: true | ||
customcommand: "firebase emulators:exec 'fastlane test'" | ||
uploadcoveragereport: | ||
name: Upload Coverage Report | ||
needs: buildandtest | ||
uses: StanfordBDHG/.github/.github/workflows/create-and-upload-coverage-report.yml@v2 | ||
permissions: | ||
contents: read | ||
with: | ||
coveragereports: TemplateApplication.xcresult | ||
secrets: | ||
token: ${{ secrets.CODECOV_TOKEN }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# | ||
# This source file is part of the Stanford Spezi Template Application open-source project | ||
# | ||
# SPDX-FileCopyrightText: 2023 Stanford University and the project authors (see CONTRIBUTORS.md) | ||
# | ||
# SPDX-License-Identifier: MIT | ||
# | ||
|
||
name: Documentation Deployment | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
deploydocs: | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
runs-on: macos-13 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: latest-stable | ||
- name: Check environment | ||
run: | | ||
xcodebuild -version | ||
swift --version | ||
echo "env.selfhosted: ${{ env.selfhosted }}" | ||
- name: Build DocC | ||
run: | | ||
xcodebuild docbuild -scheme TemplateApplication \ | ||
-derivedDataPath .derivedData \ | ||
-destination 'generic/platform=iOS' \ | ||
-skipPackagePluginValidation \ | ||
CODE_SIGN_IDENTITY="" \ | ||
CODE_SIGNING_REQUIRED=NO | ||
$(xcrun --find docc) process-archive \ | ||
transform-for-static-hosting .derivedData/Build/Products/Debug-iphoneos/TemplateApplication.doccarchive \ | ||
--hosting-base-path SpeziTemplateApplication \ | ||
--output-path .docs | ||
echo "<script>window.location.href += \"/documentation/templateapplication\"</script>" > .docs/index.html | ||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
path: '.docs' | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v4 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# | ||
# This source file is part of the Stanford Spezi Template Application open-source project | ||
# | ||
# SPDX-FileCopyrightText: 2023 Stanford University and the project authors (see CONTRIBUTORS.md) | ||
# | ||
# SPDX-License-Identifier: MIT | ||
# | ||
|
||
name: Monthly Markdown Link Check | ||
|
||
on: | ||
# Runs at midnight on the first of every month | ||
schedule: | ||
- cron: "0 0 1 * *" | ||
|
||
jobs: | ||
markdown_link_check: | ||
name: Markdown Link Check | ||
uses: StanfordBDHG/.github/.github/workflows/markdown-link-check.yml@v2 | ||
permissions: | ||
contents: read |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# | ||
# This source file is part of the Stanford Spezi Template Application open-source project | ||
# | ||
# SPDX-FileCopyrightText: 2023 Stanford University | ||
# | ||
# SPDX-License-Identifier: MIT | ||
# | ||
|
||
# Swift Package Manager | ||
*.xcodeproj | ||
.swiftpm | ||
.derivedData | ||
.build | ||
.docs | ||
!TemplateApplication.xcodeproj | ||
|
||
# IDE related folders | ||
.idea | ||
|
||
# Xcode | ||
xcuserdata/ | ||
*.ipa | ||
*.dSYM | ||
*.dSYM.zip | ||
|
||
# Other files | ||
.DS_Store | ||
.env | ||
|
||
# Tests | ||
report.junit | ||
report.html | ||
TemplateApplication.xcresult | ||
|
||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
firebase-debug.log* | ||
firebase-debug.*.log* | ||
|
||
# Firebase cache | ||
.firebase/ | ||
|
||
# Swift Package List | ||
TemplateApplication/package-list.json |
Oops, something went wrong.