Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
testableapple committed Jun 24, 2024
1 parent cd737ec commit 8cf34bf
Showing 1 changed file with 25 additions and 24 deletions.
49 changes: 25 additions & 24 deletions .github/workflows/cron-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,21 +151,21 @@ jobs:
os: macos-14
device: "iPhone 14 Pro Max"
setup_runtime: true
# - ios: 15.5
# xcode: 15.3
# os: macos-14
# device: "iPhone 13"
# setup_runtime: true
# - ios: 14.5
# xcode: 15.3
# os: macos-14
# device: "iPhone SE (2nd generation)"
# setup_runtime: true
# - ios: 13.7
# xcode: 15.3
# os: macos-14
# device: "iPad Air (3rd generation)"
# setup_runtime: true
- ios: 15.5
xcode: 15.3
os: macos-14
device: "iPhone 13"
setup_runtime: true
- ios: 14.5
xcode: 15.3
os: macos-14
device: "iPhone SE (2nd generation)"
setup_runtime: true
- ios: 13.7
xcode: 15.3
os: macos-14
device: "iPad Air (3rd generation)"
setup_runtime: true
fail-fast: false
runs-on: ${{ matrix.os }}
env:
Expand All @@ -188,15 +188,16 @@ jobs:
if: ${{ matrix.setup_runtime }}
timeout-minutes: 60
run: |
which xcodes || echo "TESTME1"
ls /usr/local/bin
git clone -b alvar/ios-18-quickfix https://github.com/alvar-bolt/xcodes
cd xcodes
make install
ls .build/apple/Products/Release/ || "TESTME2"
/usr/local/bin/xcodes runtimes
sudo /usr/local/bin/xcodes runtimes install 'iOS ${{ matrix.ios }}' --keep-archive || true
/usr/bin/xcrun simctl runtime add /Users/runner/Downloads/iOS_${{ matrix.ios }}_Simulator_Runtime.dmg || true
output=$(xcrun simctl runtime list | grep ${{ matrix.ios }})
if echo "$output" | grep -q "Ready"; then
echo $output
else
git clone -b alvar/ios-18-quickfix https://github.com/alvar-bolt/xcodes
cd xcodes
make install
/usr/local/bin/xcodes runtimes
sudo /usr/local/bin/xcodes runtimes install 'iOS ${{ matrix.ios }}' --keep-archive
fi
- name: Run LLC Tests (Debug)
run: bundle exec fastlane test device:"${{ matrix.device }} (${{ matrix.ios }})" cron:true
timeout-minutes: 100
Expand Down

0 comments on commit 8cf34bf

Please sign in to comment.