Skip to content

Commit

Permalink
set warning pipe & architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
orzklv committed Aug 16, 2023
1 parent 2391171 commit 7fff42f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/xcode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
scheme="${{ steps.set-scheme.outputs.scheme }}"
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 clean build analyze -scheme "$scheme" -"$filetype_parameter" "$file_to_build" | xcpretty && exit ${PIPESTATUS[0]}
xcodebuild clean build analyze -scheme "$scheme" -destination 'platform=macOS,arch=x86_64' -"$filetype_parameter" "$file_to_build" | xcpretty && exit ${PIPESTATUS[0]}

0 comments on commit 7fff42f

Please sign in to comment.