Tweak MMMCurlStringFromRequest() to use --location-trusted #38
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build_ios: | |
name: Test iOS | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Test | |
run: | | |
device=`xcrun simctl list devices available | grep -oE 'iPhone.*?[^\(]+' | head -1 | awk '{$1=$1;print}'` | |
xcodebuild test -destination "name=$device" -scheme 'MMMCommonCore' | |
build_watchos: | |
name: Test watchOS | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Test | |
run: | | |
device=`xcrun simctl list devices available | grep -oE 'Apple Watch.*?[^\(]+' | head -1 | awk '{$1=$1;print}'` | |
xcodebuild test -destination "name=$device" -scheme 'MMMCommonCore' | |
build_tvos: | |
name: Test tvOS | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Test | |
run: | | |
device=`xcrun simctl list devices available | grep -oE 'Apple TV.*?[^\(]+' | head -1 | awk '{$1=$1;print}'` | |
xcodebuild test -destination "name=$device" -scheme 'MMMCommonCore' | |
build_macos: | |
name: Test macOS | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Test | |
run: xcodebuild test -destination 'platform=OS X' -scheme 'MMMCommonCore' |