forked from LoopKit/LoopCaregiver
-
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 1e0325a
Showing
153 changed files
with
8,514 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,19 @@ | ||
jobs: | ||
build: | ||
macos: | ||
xcode: 14.1.0 | ||
steps: | ||
- checkout | ||
- run: | ||
name: Checkout submodules | ||
command: git submodule update --init --recursive --depth 1 | ||
- run: | ||
name: Build Loop | ||
command: set -o pipefail && time xcodebuild -workspace Loop.xcworkspace -scheme 'Loop (Workspace)' -destination 'platform=iOS Simulator,name=iPhone 13,OS=15.5' build | xcpretty | ||
- run: | ||
name: Build Learn | ||
command: set -o pipefail && time xcodebuild -workspace Loop.xcworkspace -scheme 'Learn (Workspace)' -destination 'platform=iOS Simulator,name=iPhone 13,OS=15.5' build | xcpretty | ||
- run: | ||
name: Run Tests | ||
command: set -o pipefail && time xcodebuild -workspace Loop.xcworkspace -scheme 'Loop (Workspace)' -destination 'platform=iOS Simulator,name=iPhone 13,OS=15.5' test | xcpretty | ||
|
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,41 @@ | ||
name: Add Identifiers | ||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
identifiers: | ||
runs-on: macos-12 | ||
steps: | ||
# Uncomment to manually select latest Xcode if needed | ||
#- name: Select Latest Xcode | ||
# run: "sudo xcode-select --switch /Applications/Xcode_13.0.app/Contents/Developer" | ||
|
||
# Checks-out the repo | ||
- name: Checkout Repo | ||
uses: actions/checkout@v3 | ||
|
||
# Patch Fastlane Match to not print tables | ||
- name: Patch Match Tables | ||
run: find /usr/local/lib/ruby/gems -name table_printer.rb | xargs sed -i "" "/puts(Terminal::Table.new(params))/d" | ||
|
||
# Create or update identifiers for Loop | ||
- name: Fastlane Provision Loop | ||
run: fastlane loop_identifiers | ||
env: | ||
TEAMID: ${{ secrets.TEAMID }} | ||
GH_PAT: ${{ secrets.GH_PAT }} | ||
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} | ||
FASTLANE_KEY_ID: ${{ secrets.FASTLANE_KEY_ID }} | ||
FASTLANE_ISSUER_ID: ${{ secrets.FASTLANE_ISSUER_ID }} | ||
FASTLANE_KEY: ${{ secrets.FASTLANE_KEY }} | ||
|
||
# Create or update identifier for LoopCaregiver | ||
- name: Fastlane Provision Caregiver | ||
run: fastlane caregiver_identifier | ||
env: | ||
TEAMID: ${{ secrets.TEAMID }} | ||
GH_PAT: ${{ secrets.GH_PAT }} | ||
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} | ||
FASTLANE_KEY_ID: ${{ secrets.FASTLANE_KEY_ID }} | ||
FASTLANE_ISSUER_ID: ${{ secrets.FASTLANE_ISSUER_ID }} | ||
FASTLANE_KEY: ${{ secrets.FASTLANE_KEY }} |
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 @@ | ||
name: Build Loop | ||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: macos-12 | ||
steps: | ||
# Uncomment to manually select latest Xcode if needed | ||
- name: Select Latest Xcode | ||
run: "sudo xcode-select --switch /Applications/Xcode_14.1.app/Contents/Developer" | ||
|
||
# Checks-out the repo | ||
- name: Checkout Repo | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
|
||
# Patch Fastlane Match to not print tables | ||
- name: Patch Match Tables | ||
run: find /usr/local/lib/ruby/gems -name table_printer.rb | xargs sed -i "" "/puts(Terminal::Table.new(params))/d" | ||
|
||
# Build signed Loop IPA file | ||
- name: Fastlane Build & Archive | ||
run: fastlane loop_build | ||
env: | ||
TEAMID: ${{ secrets.TEAMID }} | ||
GH_PAT: ${{ secrets.GH_PAT }} | ||
FASTLANE_KEY_ID: ${{ secrets.FASTLANE_KEY_ID }} | ||
FASTLANE_ISSUER_ID: ${{ secrets.FASTLANE_ISSUER_ID }} | ||
FASTLANE_KEY: ${{ secrets.FASTLANE_KEY }} | ||
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} | ||
|
||
# Upload to TestFlight | ||
- name: Fastlane upload to TestFlight | ||
run: fastlane loop_release | ||
env: | ||
TEAMID: ${{ secrets.TEAMID }} | ||
GH_PAT: ${{ secrets.GH_PAT }} | ||
FASTLANE_KEY_ID: ${{ secrets.FASTLANE_KEY_ID }} | ||
FASTLANE_ISSUER_ID: ${{ secrets.FASTLANE_ISSUER_ID }} | ||
FASTLANE_KEY: ${{ secrets.FASTLANE_KEY }} | ||
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} | ||
|
||
# Upload IPA and Symbols | ||
- name: Upload IPA and Symbol artifacts | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: build-artifacts | ||
path: | | ||
artifacts | ||
buildlog |
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 @@ | ||
name: Build LoopCaregiver | ||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: macos-12 | ||
steps: | ||
# Uncomment to manually select latest Xcode if needed | ||
- name: Select Latest Xcode | ||
run: "sudo xcode-select --switch /Applications/Xcode_14.1.app/Contents/Developer" | ||
|
||
# Checks-out the repo | ||
- name: Checkout Repo | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
|
||
# Patch Fastlane Match to not print tables | ||
- name: Patch Match Tables | ||
run: find /usr/local/lib/ruby/gems -name table_printer.rb | xargs sed -i "" "/puts(Terminal::Table.new(params))/d" | ||
|
||
# Build signed LoopCaregiver IPA file | ||
- name: Fastlane Build & Archive | ||
run: fastlane caregiver_build | ||
env: | ||
TEAMID: ${{ secrets.TEAMID }} | ||
GH_PAT: ${{ secrets.GH_PAT }} | ||
FASTLANE_KEY_ID: ${{ secrets.FASTLANE_KEY_ID }} | ||
FASTLANE_ISSUER_ID: ${{ secrets.FASTLANE_ISSUER_ID }} | ||
FASTLANE_KEY: ${{ secrets.FASTLANE_KEY }} | ||
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} | ||
|
||
# Upload to TestFlight | ||
- name: Fastlane upload to TestFlight | ||
run: fastlane caregiver_release | ||
env: | ||
TEAMID: ${{ secrets.TEAMID }} | ||
GH_PAT: ${{ secrets.GH_PAT }} | ||
FASTLANE_KEY_ID: ${{ secrets.FASTLANE_KEY_ID }} | ||
FASTLANE_ISSUER_ID: ${{ secrets.FASTLANE_ISSUER_ID }} | ||
FASTLANE_KEY: ${{ secrets.FASTLANE_KEY }} | ||
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} | ||
|
||
# Upload IPA and Symbols | ||
- name: Upload IPA and Symbol artifacts | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: build-artifacts | ||
path: | | ||
artifacts | ||
buildlog |
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,41 @@ | ||
name: Create Certificates | ||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
certificates: | ||
runs-on: macos-12 | ||
steps: | ||
# Uncomment to manually select latest Xcode if needed | ||
#- name: Select Latest Xcode | ||
# run: "sudo xcode-select --switch /Applications/Xcode_13.0.app/Contents/Developer" | ||
|
||
# Checks-out the repo | ||
- name: Checkout Repo | ||
uses: actions/checkout@v3 | ||
|
||
# Patch Fastlane Match to not print tables | ||
- name: Patch Match Tables | ||
run: find /usr/local/lib/ruby/gems -name table_printer.rb | xargs sed -i "" "/puts(Terminal::Table.new(params))/d" | ||
|
||
# Create or update certificates for Loop | ||
- name: Create Loop Certificates | ||
run: fastlane loop_certs | ||
env: | ||
TEAMID: ${{ secrets.TEAMID }} | ||
GH_PAT: ${{ secrets.GH_PAT }} | ||
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} | ||
FASTLANE_KEY_ID: ${{ secrets.FASTLANE_KEY_ID }} | ||
FASTLANE_ISSUER_ID: ${{ secrets.FASTLANE_ISSUER_ID }} | ||
FASTLANE_KEY: ${{ secrets.FASTLANE_KEY }} | ||
|
||
# Create or update certificate for LoopCaregiver | ||
- name: Create Caregiver Certificate | ||
run: fastlane caregiver_cert | ||
env: | ||
TEAMID: ${{ secrets.TEAMID }} | ||
GH_PAT: ${{ secrets.GH_PAT }} | ||
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} | ||
FASTLANE_KEY_ID: ${{ secrets.FASTLANE_KEY_ID }} | ||
FASTLANE_ISSUER_ID: ${{ secrets.FASTLANE_ISSUER_ID }} | ||
FASTLANE_KEY: ${{ secrets.FASTLANE_KEY }} |
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,29 @@ | ||
## Build | ||
DerivedData/ | ||
|
||
## Settings | ||
*.pbxuser | ||
!default.pbxuser | ||
*.mode1v3 | ||
!default.mode1v3 | ||
*.mode2v3 | ||
!default.mode2v3 | ||
*.perspectivev3 | ||
!default.perspectivev3 | ||
xcuserdata/ | ||
|
||
## Other | ||
*.moved-aside | ||
*.xccheckout | ||
*.xcscmblueprint | ||
*.xcuserstate | ||
.DS_Store | ||
|
||
## Obj-C/Swift specific | ||
*.hmap | ||
*.ipa | ||
|
||
## Playgrounds | ||
*.playground | ||
playground.xcworkspace | ||
timeline.xctimeline |
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 @@ | ||
[submodule "Loop"] | ||
path = Loop | ||
url = https://github.com/gestrich/Loop.git | ||
[submodule "LoopKit"] | ||
path = LoopKit | ||
url = https://github.com/gestrich/LoopKit.git | ||
[submodule "CGMBLEKit"] | ||
path = CGMBLEKit | ||
url = https://github.com/LoopKit/CGMBLEKit.git | ||
[submodule "dexcom-share-client-swift"] | ||
path = dexcom-share-client-swift | ||
url = https://github.com/LoopKit/dexcom-share-client-swift.git | ||
[submodule "rileylink_ios"] | ||
path = rileylink_ios | ||
url = https://github.com/gestrich/rileylink_ios.git | ||
[submodule "MKRingProgressView"] | ||
path = MKRingProgressView | ||
url = https://github.com/LoopKit/MKRingProgressView.git | ||
[submodule "NightscoutService"] | ||
path = NightscoutService | ||
url = https://github.com/gestrich/NightscoutService.git | ||
[submodule "Minizip"] | ||
path = Minizip | ||
url = https://github.com/LoopKit/Minizip.git | ||
[submodule "TrueTime.swift"] | ||
path = TrueTime.swift | ||
url = https://github.com/LoopKit/TrueTime.swift.git | ||
[submodule "LoopOnboarding"] | ||
path = LoopOnboarding | ||
url = https://github.com/LoopKit/LoopOnboarding.git | ||
[submodule "AmplitudeService"] | ||
path = AmplitudeService | ||
url = https://github.com/LoopKit/AmplitudeService.git | ||
[submodule "LogglyService"] | ||
path = LogglyService | ||
url = https://github.com/LoopKit/LogglyService.git | ||
[submodule "OmniBLE"] | ||
path = OmniBLE | ||
url = https://github.com/LoopKit/OmniBLE.git | ||
[submodule "NightscoutAPIClient"] | ||
path = NightscoutAPIClient | ||
url = https://github.com/LoopKit/NightscoutAPIClient.git | ||
[submodule "LoopSupport"] | ||
path = LoopSupport | ||
url = https://github.com/LoopKit/LoopSupport | ||
[submodule "G7SensorKit"] | ||
path = G7SensorKit | ||
url = https://github.com/LoopKit/G7SensorKit.git |
Submodule AmplitudeService
added at
dd6624
Submodule G7SensorKit
added at
27c84e
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,3 @@ | ||
source "https://rubygems.org" | ||
|
||
gem "fastlane" |
Oops, something went wrong.