From 9dabe4549108864d16ff3e2690d4978007a08066 Mon Sep 17 00:00:00 2001 From: Alex Babrykovich Date: Wed, 18 Sep 2024 15:29:23 +0200 Subject: [PATCH] ci: do test carthage build for different Xcode versions --- .github/workflows/workflow.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 4f9e281..70b38c0 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -101,11 +101,22 @@ jobs: name: Carthage Build needs: test runs-on: macos-14 + continue-on-error: ${{ matrix.experimental }} + strategy: + fail-fast: false + matrix: + xcode: [ '15.4' ] + experimental: [ false ] + include: + - xcode: '14.3.1' + experimental: false + - xcode: '16.1' + experimental: true steps: - uses: actions/checkout@v4 - - name: Use Xcode ${{ env.XCODE_VERSION }} - run: sudo xcode-select -switch /Applications/Xcode_${XCODE_VERSION}.app + - name: Use Xcode ${{ matrix.xcode }} + run: sudo xcode-select -switch /Applications/Xcode_${{ matrix.xcode }}.app - uses: ruby/setup-ruby@v1 with: @@ -227,6 +238,8 @@ jobs: - run: bundle exec fastlane ios samples_build + - run: + release: name: Release if: github.event_name == 'release'