Skip to content
Closed
14 changes: 7 additions & 7 deletions .github/workflows/add_identifiers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@ jobs:

identifiers:
needs: secrets
runs-on: macos-12
runs-on: macos-14
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
uses: actions/checkout@v4

# 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"


# Sync the GitHub runner clock with the Windows time server (workaround as suggested in https://github.com/actions/runner/issues/2996)
- name: Sync clock
run: sudo sntp -sS time.windows.com

# Create or update identifiers for app
- name: Fastlane Provision
run: fastlane identifiers
Expand Down
14 changes: 9 additions & 5 deletions .github/workflows/build_loop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 4. Build Loop
run-name: Build Loop
run-name: Build Loop ${{ github.ref_name }}
on:
workflow_dispatch:

Expand All @@ -17,22 +17,26 @@ jobs:

build:
needs: secrets
runs-on: macos-12
runs-on: macos-14
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"
run: "sudo xcode-select --switch /Applications/Xcode_15.3.app/Contents/Developer"

# Checks-out the repo
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
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"

# Sync the GitHub runner clock with the Windows time server (workaround as suggested in https://github.com/actions/runner/issues/2996)
- name: Sync clock
run: sudo sntp -sS time.windows.com

# Build signed Loop IPA file
- name: Fastlane Build & Archive
run: fastlane build_loop
Expand All @@ -57,7 +61,7 @@ jobs:

# Upload IPA and Symbols
- name: Upload IPA and Symbol artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-artifacts
path: |
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/create_certs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@ jobs:

certificates:
needs: secrets
runs-on: macos-12
runs-on: macos-14
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
uses: actions/checkout@v4

# 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"


# Sync the GitHub runner clock with the Windows time server (workaround as suggested in https://github.com/actions/runner/issues/2996)
- name: Sync clock
run: sudo sntp -sS time.windows.com

# Create or update certificates for app
- name: Create Certificates
run: fastlane certs
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/validate_secrets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,15 @@ on: [workflow_call, workflow_dispatch]

jobs:
validate:
runs-on: macos-12
runs-on: macos-14
steps:
# Checks-out the repo
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4

# Sync the GitHub runner clock with the Windows time server (workaround as suggested in https://github.com/actions/runner/issues/2996)
- name: Sync clock
run: sudo sntp -sS time.windows.com

# Validates the repo secrets
- name: Validate Secrets
Expand Down
2 changes: 1 addition & 1 deletion MinimedKit
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# LoopWorkspace

The Loop app can be built using GitHub in a browser on any computer or using a Mac with Xcode.
The Loop app can be built using GitHub workflows in the cloud from a browser on any computer or using a Mac with Xcode.

* Non-developers may prefer the GitHub method
* Developers or Loopers who want full build control may prefer the Mac/Xcode method
* Non-developers may prefer the GitHub workflow method, which does not require a mac.
* Developers or Loopers who want full build control may prefer the local Mac/Xcode method.

## GitHub Build Instructions

Expand Down