generated from StanfordBDHG/SwiftPackageTemplate
-
-
Notifications
You must be signed in to change notification settings - Fork 3
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 ab15edb
Showing
36 changed files
with
2,243 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,82 @@ | ||
# | ||
# This source file is part of the TemplatePackage 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: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 | ||
with: | ||
scheme: TemplatePackage | ||
artifactname: TemplatePackage.xcresult | ||
packagewatchos: | ||
name: Build and Test Swift Package watchOS | ||
uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 | ||
with: | ||
scheme: TemplatePackage | ||
resultBundle: TemplatePackageWatchOS.xcresult | ||
destination: 'platform=watchOS Simulator,name=Apple Watch Series 8 (45mm)' | ||
artifactname: TemplatePackageWatchOS.xcresult | ||
packagevisionos: | ||
name: Build and Test Swift Package visionOS | ||
uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 | ||
with: | ||
xcodeversion: latest | ||
scheme: TemplatePackage | ||
resultBundle: TemplatePackageVisionOS.xcresult | ||
destination: 'platform=visionOS Simulator,name=Apple Vision Pro' | ||
artifactname: TemplatePackageVisionOS.xcresult | ||
ios: | ||
name: Build and Test iOS | ||
uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 | ||
with: | ||
path: 'Tests/UITests' | ||
scheme: TestApp | ||
artifactname: TestApp.xcresult | ||
ipados: | ||
name: Build and Test iPadOS | ||
uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 | ||
with: | ||
path: 'Tests/UITests' | ||
scheme: TestApp | ||
resultBundle: TestAppiPadOS.xcresult | ||
destination: 'platform=iOS Simulator,name=iPad mini (6th generation)' | ||
artifactname: TestAppiPadOS.xcresult | ||
watchos: | ||
name: Build and Test watchOS | ||
uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 | ||
with: | ||
path: 'Tests/UITests' | ||
scheme: TestAppWatchApp | ||
resultBundle: TestAppWatchApp.xcresult | ||
destination: 'platform=watchOS Simulator,name=Apple Watch Series 8 (45mm)' | ||
artifactname: TestAppWatchApp.xcresult | ||
codeql: | ||
name: CodeQL | ||
uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 | ||
with: | ||
codeql: true | ||
xcodeversion: '14.3.1' | ||
scheme: TemplatePackage | ||
permissions: | ||
security-events: write | ||
actions: read | ||
uploadcoveragereport: | ||
name: Upload Coverage Report | ||
needs: [packageios, packagewatchos, packagevisionos, ios, ipados, watchos] | ||
uses: StanfordBDHG/.github/.github/workflows/create-and-upload-coverage-report.yml@v2 | ||
with: | ||
coveragereports: TemplatePackage.xcresult TemplatePackageWatchOS.xcresult TemplatePackageVisionOS.xcresult TestApp.xcresult TestAppiPadOS.xcresult TestAppWatchApp.xcresult |
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 TemplatePackage open source project | ||
# | ||
# SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md) | ||
# | ||
# SPDX-License-Identifier: MIT | ||
# | ||
|
||
name: Pull Request | ||
|
||
on: | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
reuse_action: | ||
name: REUSE Compliance Check | ||
uses: StanfordBDHG/.github/.github/workflows/reuse.yml@v2 | ||
swiftlint: | ||
name: SwiftLint | ||
uses: StanfordBDHG/.github/.github/workflows/swiftlint.yml@v2 |
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,34 @@ | ||
# | ||
# This source file is part of the TemplatePackage open source project | ||
# | ||
# SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md) | ||
# | ||
# SPDX-License-Identifier: MIT | ||
# | ||
|
||
# Swift Package Manager | ||
Package.resolved | ||
*.xcodeproj | ||
.swiftpm | ||
.build | ||
.xcodebuild | ||
.derivedData | ||
coverage.lcov | ||
*.xcresult | ||
|
||
# IDE related folders | ||
.idea | ||
|
||
# Xcode User settings | ||
xcuserdata/ | ||
|
||
# Other files | ||
.DS_Store | ||
.env | ||
|
||
# Documentation generation | ||
*.doccarchive | ||
docs/ | ||
|
||
# UITests Project | ||
!UITests.xcodeproj |
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,14 @@ | ||
# | ||
# This source file is part of the TemplatePackage open source project | ||
# | ||
# SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md) | ||
# | ||
# SPDX-License-Identifier: MIT | ||
# | ||
|
||
version: 1 | ||
builder: | ||
configs: | ||
- platform: ios | ||
documentation_targets: | ||
- TemplatePackage |
Oops, something went wrong.