# HG changeset patch # User Dennis C. M. # Date 1628160466 -3600 # Node ID ff4a79c7ba88622f99117d440a834f171bfa210c # Parent bc5c7ccb563bf93ae0b50c14d7f006aac8f2b64e Removed tests committer: GitHub diff -r bc5c7ccb563b -r ff4a79c7ba88 .github/workflows/ios.yml --- a/.github/workflows/ios.yml Thu Aug 05 11:43:15 2021 +0100 +++ b/.github/workflows/ios.yml Thu Aug 05 11:47:46 2021 +0100 @@ -1,4 +1,4 @@ -name: iOS starter workflow +name: Build project on: push: @@ -31,14 +31,3 @@ if [ "`ls -A | grep -i \\.xcworkspace\$`" ]; then filetype_parameter="workspace" && file_to_build="`ls -A | grep -i \\.xcworkspace\$`"; else filetype_parameter="project" && file_to_build="`ls -A | grep -i \\.xcodeproj\$`"; fi file_to_build=`echo $file_to_build | awk '{$1=$1;print}'` xcodebuild build-for-testing -scheme "$scheme" -"$filetype_parameter" "$file_to_build" -destination "platform=$platform,name=$device" - - name: Test - env: - scheme: ${{ 'default' }} - platform: ${{ 'iOS Simulator' }} - run: | - # xcrun xctrace returns via stderr, not the expected stdout (see https://developer.apple.com/forums/thread/663959) - device=`xcrun xctrace list devices 2>&1 | grep -oE 'iPhone.*?[^\(]+' | head -1 | awk '{$1=$1;print}'` - if [ $scheme = default ]; then scheme=$(cat default); fi - if [ "`ls -A | grep -i \\.xcworkspace\$`" ]; then filetype_parameter="workspace" && file_to_build="`ls -A | grep -i \\.xcworkspace\$`"; else filetype_parameter="project" && file_to_build="`ls -A | grep -i \\.xcodeproj\$`"; fi - file_to_build=`echo $file_to_build | awk '{$1=$1;print}'` - xcodebuild test-without-building -scheme "$scheme" -"$filetype_parameter" "$file_to_build" -destination "platform=$platform,name=$device"