From c1eb8480d2500a25a6730effc3a44029b68820dc Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Tue, 2 Jul 2024 19:28:05 +0200 Subject: [PATCH] Remove CI until I get it to work --- .github/workflows/xcode.yml | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 .github/workflows/xcode.yml diff --git a/.github/workflows/xcode.yml b/.github/workflows/xcode.yml deleted file mode 100644 index 4209e8e..0000000 --- a/.github/workflows/xcode.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: Xcode - Build and Analyze - -on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] - -jobs: - build: - name: Build and analyse default scheme using xcodebuild command - runs-on: macos-latest - - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - submodules: true - - name: Set Default Scheme - run: | - scheme_list=$(xcodebuild -list -json | tr -d "\n") - default=$(echo $scheme_list | ruby -e "require 'json'; puts JSON.parse(STDIN.gets)['project']['targets'][0]") - echo $default | cat >default - echo Using default scheme: $default - - name: Build - env: - scheme: ${{ 'Subler' }} - run: | - 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]}