Skip to content

Commit

Permalink
fix: try different approach for builds
Browse files Browse the repository at this point in the history
  • Loading branch information
drmohundro committed Aug 19, 2024
1 parent bd125fe commit 9b2e436
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,22 @@ on: [push, pull_request]
jobs:
mac-test:
name: Mac Test
runs-on: macOS-latest

runs-on: macos-latest
strategy:
matrix:
platform:
- macOS
- watchOS
- tvOS
- iOS
- mac-catalyst
swift:
- ~5.4
- ^6
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build and test
env:
WORKSPACE: "-workspace SWXMLHash.xcworkspace"
ACTION: "build-for-testing test-without-building"
run: |
set -o pipefail
xcodebuild $ACTION $WORKSPACE -scheme "SWXMLHash OSX" | xcpretty
xcodebuild $ACTION $WORKSPACE -scheme "SWXMLHash iOS" -sdk iphonesimulator -destination "OS=17.2,name=iPhone 15" | xcpretty
xcodebuild $ACTION $WORKSPACE -scheme "SWXMLHash tvOS" -sdk appletvsimulator -destination "name=Apple TV" | xcpretty
xcodebuild build $WORKSPACE -scheme "SWXMLHash watchOS" -sdk watchsimulator | xcpretty
bash <(curl -s https://codecov.io/bash) -t ${{secrets.CODECOV_TOKEN}}
- uses: mxcl/xcodebuild@v3.0.0
with:
platform: ${{ matrix.platform }}

linux-test:
name: Linux Test
Expand Down

0 comments on commit 9b2e436

Please sign in to comment.