From 7265db749ff13d74d27424a0a08ba5c89ef34c4c Mon Sep 17 00:00:00 2001 From: Alexandr Romanov Date: Fri, 27 Sep 2024 15:17:54 +0300 Subject: [PATCH] Update ci --- .github/workflows/ci.yml | 42 ++++++++++++++++++++++++---------------- 1 file changed, 25 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 64af63c..98d463f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,22 +12,30 @@ concurrency: cancel-in-progress: true jobs: - build-swiftpm: - name: Build SwiftPM - uses: oversizedev/GithubWorkflows/.github/workflows/build-swiftpm.yml@main - with: - package: "OversizeAppStoreServices" - secrets: inherit + build-swiftpm: + name: Build SwiftPM + uses: oversizedev/GithubWorkflows/.github/workflows/build-swiftpm.yml@main + strategy: + matrix: + destination: + - platform=iOS Simulator,name=iPhone 16,OS=18.0 + - platform=watchOS Simulator,name=Apple Watch SE (40mm) (2nd generation),OS=11.0 + - platform=tvOS Simulator,name=Apple TV 4K (3rd generation) (at 1080p),OS=18.0 + - platform=macOS,arch=arm64 + with: + package: "OversizeAppStoreServices" + destination: ${{ matrix.destination }} + secrets: inherit - tests: - name: Test - needs: build-swiftpm - uses: oversizedev/GithubWorkflows/.github/workflows/test.yml@main - secrets: inherit + tests: + name: Test + needs: build-swiftpm + uses: oversizedev/GithubWorkflows/.github/workflows/test.yml@main + secrets: inherit - bump: - name: Bump version - needs: tests - if: github.ref == 'refs/heads/main' - uses: oversizedev/GithubWorkflows/.github/workflows/bump.yml@main - secrets: inherit \ No newline at end of file + bump: + name: Bump version + needs: tests + if: github.ref == 'refs/heads/main' + uses: oversizedev/GithubWorkflows/.github/workflows/bump.yml@main + secrets: inherit