From 6fb510c918e178180ae0561df24fc2677d36614b Mon Sep 17 00:00:00 2001 From: PatTheMav Date: Mon, 9 Oct 2023 15:23:09 +0200 Subject: [PATCH] Revert "CI: Add xclogparser to macOS builds to generate issue report" This reverts commit c19d9c13652dc8b685a1f3611b77032ec6165d49. --- .github/scripts/.Brewfile | 1 - .github/scripts/.build.zsh | 15 +-------------- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/.github/scripts/.Brewfile b/.github/scripts/.Brewfile index b4fea42dd..cdc51f13e 100644 --- a/.github/scripts/.Brewfile +++ b/.github/scripts/.Brewfile @@ -3,4 +3,3 @@ brew "cmake" brew "git" brew "jq" brew "xcbeautify" -brew "xclogparser" diff --git a/.github/scripts/.build.zsh b/.github/scripts/.build.zsh index b4250afa6..3009d58e0 100755 --- a/.github/scripts/.build.zsh +++ b/.github/scripts/.build.zsh @@ -145,12 +145,11 @@ build() { local -a build_args=( ONLY_ACTIVE_ARCH=NO -project obs-studio.xcodeproj - -scheme obs-studio + -target obs-studio -destination "generic/platform=macOS,name=Any Mac" -configuration ${config} -parallelizeTargets -hideShellScriptEnvironment - -resultBundlePath ${project_root}/build_macos/build.xcresult build ) @@ -179,18 +178,6 @@ build() { } else { run_xcodebuild ${build_args} - local -a jq_query=( - 'keys[] as $k' - '{level: "\($k)"|sub("warnings";"warning")|sub("errors";"failure"), data: (.[$k][])}' - '{file: .data.documentURL, start_line: .data.startingLineNumber, end_line: .data.endingLineNumber, start_column: .data.startingColumnNumber, end_column: .data.endingColumnNumber, title: "Compiler \(.level)", message: .data.title, annotation_level: .level}' - ) - - xclogparser parse --project obs-studio --reporter issues \ - | jq ${(j: | :)jq_query} \ - | jq -s '. | unique' \ - | sed -E -e "s#file://${project_root}/##g" \ - > ${project_root}/build_issues.json - rm -rf OBS.app mkdir OBS.app ditto UI/${config}/OBS.app OBS.app