Skip to content
This repository has been archived by the owner on Aug 12, 2022. It is now read-only.

Commit

Permalink
Test LCP integration
Browse files Browse the repository at this point in the history
  • Loading branch information
mickael-menu committed Jun 10, 2021
1 parent d1a44e2 commit 2a070f8
Showing 1 changed file with 48 additions and 31 deletions.
79 changes: 48 additions & 31 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,47 +25,64 @@ jobs:
device=`xcrun xctrace list devices 2>&1 | grep -oE 'iPhone.*?[^\(]+' | head -1 | awk '{$1=$1;print}'`
xcodebuild build -scheme R2TestApp -destination "platform=$platform,name=$device"
carthage:
name: Integration with Carthage
spm_lcp:
name: Integration with SPM
runs-on: macos-latest
environment: LCP
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install dependencies
run: brew install xcodegen
- name: Generate project
run: make carthage
run: make spm lcp={{ secret.LCP_URL }}
- name: Build
run: |
device=`xcrun xctrace list devices 2>&1 | grep -oE 'iPhone.*?[^\(]+' | head -1 | awk '{$1=$1;print}'`
xcodebuild build -scheme R2TestApp -destination "platform=$platform,name=$device"
cocoapods:
name: Integration with CocoaPods
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install dependencies
run: brew install xcodegen
- name: Generate project
run: make cocoapods
- name: Build
run: |
device=`xcrun xctrace list devices 2>&1 | grep -oE 'iPhone.*?[^\(]+' | head -1 | awk '{$1=$1;print}'`
xcodebuild build -workspace R2TestApp.xcworkspace -scheme R2TestApp -destination "platform=$platform,name=$device"
# Carthage is failing before Big Sur.
# carthage:
# name: Integration with Carthage
# runs-on: macos-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v2
# - name: Install dependencies
# run: brew install xcodegen
# - name: Generate project
# run: make carthage
# - name: Build
# run: |
# device=`xcrun xctrace list devices 2>&1 | grep -oE 'iPhone.*?[^\(]+' | head -1 | awk '{$1=$1;print}'`
# xcodebuild build -scheme R2TestApp -destination "platform=$platform,name=$device"

dev:
name: Integration with submodules
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install dependencies
run: brew install xcodegen
- name: Generate project
run: make dev
- name: Build
run: |
device=`xcrun xctrace list devices 2>&1 | grep -oE 'iPhone.*?[^\(]+' | head -1 | awk '{$1=$1;print}'`
xcodebuild build -scheme R2TestApp -destination "platform=$platform,name=$device"
# cocoapods:
# name: Integration with CocoaPods
# runs-on: macos-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v2
# - name: Install dependencies
# run: brew install xcodegen
# - name: Generate project
# run: make cocoapods
# - name: Build
# run: |
# device=`xcrun xctrace list devices 2>&1 | grep -oE 'iPhone.*?[^\(]+' | head -1 | awk '{$1=$1;print}'`
# xcodebuild build -workspace R2TestApp.xcworkspace -scheme R2TestApp -destination "platform=$platform,name=$device"

# dev:
# name: Integration with submodules
# runs-on: macos-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v2
# - name: Install dependencies
# run: brew install xcodegen
# - name: Generate project
# run: make dev
# - name: Build
# run: |
# device=`xcrun xctrace list devices 2>&1 | grep -oE 'iPhone.*?[^\(]+' | head -1 | awk '{$1=$1;print}'`
# xcodebuild build -scheme R2TestApp -destination "platform=$platform,name=$device"

0 comments on commit 2a070f8

Please sign in to comment.