refactor: remove redundant networking task registry (#4336) #6395
This file contains hidden or 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
| # SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors | |
| # SPDX-License-Identifier: GPL-3.0-or-later | |
| name: Build additional targets | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - develop | |
| pull_request: | |
| types: [synchronize, opened, reopened, ready_for_review] | |
| branches: | |
| - master | |
| - develop | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build-and-test: | |
| name: Build and Test | |
| runs-on: xcode-27 | |
| if: github.event.pull_request.draft == false | |
| env: | |
| PROJECT: Nextcloud.xcodeproj | |
| DESTINATION: platform=iOS Simulator,name=iPhone 17,OS=27.0 | |
| XCODE_VERSION: '27.0' | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Download GoogleService-Info.plist | |
| run: wget "https://raw.githubusercontent.com/firebase/quickstart-ios/master/mock-GoogleService-Info.plist" -O GoogleService-Info.plist | |
| - name: Setup Xcode | |
| uses: maxim-lobanov/setup-xcode@ed7a3b1fda3918c0306d1b724322adc0b8cc0a90 # v1.7.0 | |
| with: | |
| xcode-version: ${{ env.XCODE_VERSION }} | |
| - name: Build iOS Share | |
| run: | | |
| xcodebuild build -project $PROJECT -scheme "$SCHEME" -destination "$DESTINATION" | xcbeautify --quieter | |
| env: | |
| SCHEME: Share | |
| - name: Build iOS File Extension | |
| run: | | |
| xcodebuild build -project $PROJECT -scheme "$SCHEME" -destination "$DESTINATION" | xcbeautify --quieter | |
| env: | |
| SCHEME: File Provider Extension | |
| - name: Build iOS Notification Extension | |
| run: | | |
| xcodebuild build -project $PROJECT -scheme "$SCHEME" -destination "$DESTINATION" | xcbeautify --quieter | |
| env: | |
| SCHEME: Notification Service Extension | |
| - name: Build iOS Widget | |
| run: | | |
| xcodebuild build -project $PROJECT -scheme "$SCHEME" -destination "$DESTINATION" | xcbeautify --quieter | |
| env: | |
| SCHEME: Widget | |
| - name: Build iOS Widget Dashboard IntentHandler | |
| run: | | |
| xcodebuild build -project $PROJECT -scheme "$SCHEME" -destination "$DESTINATION" | xcbeautify --quieter | |
| env: | |
| SCHEME: WidgetDashboardIntentHandler |