Skip to content

Commit

Permalink
Customisations applied
Browse files Browse the repository at this point in the history
  • Loading branch information
OliNix authored Jul 29, 2024
1 parent 8060718 commit 3168656
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions .github/workflows/build_loop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
#push:

schedule:
- cron: "0 8 * * 3" # Checks for updates at 08:00 UTC every Wednesday
# - cron: "0 8 * * 3" # Checks for updates at 08:00 UTC every Wednesday
- cron: "0 6 1 * *" # Builds the app on the 1st of every month at 06:00 UTC

env:
Expand Down Expand Up @@ -276,6 +276,31 @@ jobs:
# and make sure to specify the submodule by setting "--directory=(submodule_name)".
# Several patches may be added per submodule.
# Adding comments (#) may be useful to easily tell the individual patches apart.
# CustomizationSelect script
# The "\" is a continuation character
# the line following a "\" should not be blank
/bin/bash -c "$(curl -fsSL \
https://raw.githubusercontent.com/loopandlearn/lnl-scripts/main/CustomizationSelect.sh)" \
future_carbs_4h \
high_carb_limit \
2002 \
live_activity
# the final customization listed above CANNOT have a continuation character
# more customizations can be pasted after this line
# Add in CGM Clients (xDrip4iOS)
echo "Downloading code to support xdrip-client-swift"
git clone https://github.com/johandegraeve/xdrip-client-swift-1.git xdrip-client-swift
echo "checking out the xdrip-client-swift commit that works with Loop 3.4.0 or later"
cd xdrip-client-swift; git checkout e618d67 --quiet; cd ..
echo "Downloading code to support GlucoseDirectClient"
git clone --branch=dev https://github.com/creepymonster/GlucoseDirectClient.git GlucoseDirectClient
echo "checking out the GlucoseDirectClient commit that works with Loop 3.4.0 or later"
cd GlucoseDirectClient; git checkout c4223d7 --quiet; cd ..
echo "Applying customization to add CGM support to Loop for xDrip4iOS and GlucoseDirect"
curl https://github.com/loopandlearn/LoopWorkspace/commit/c97f303d15982a9b192bb90ae7ac3e89a3daf203.patch | git apply
# Patch Fastlane Match to not print tables
- name: Patch Match Tables
Expand Down Expand Up @@ -326,4 +351,4 @@ jobs:
name: build-artifacts
path: |
artifacts
buildlog
buildlog

0 comments on commit 3168656

Please sign in to comment.