From db1f300b433ff895e6d323379a2deaa96104d17b Mon Sep 17 00:00:00 2001 From: Gaston Thea Date: Thu, 7 Nov 2024 10:51:25 -0300 Subject: [PATCH] Needing build --- .github/workflows/base_ut.yaml | 5 ++++- .github/workflows/build_macos.yaml | 1 - .github/workflows/test_all.yaml | 7 +++++++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/base_ut.yaml b/.github/workflows/base_ut.yaml index e5fcec2e..460ea296 100644 --- a/.github/workflows/base_ut.yaml +++ b/.github/workflows/base_ut.yaml @@ -7,6 +7,9 @@ on: description: The test plan to run required: true type: string + destination: + required: true + type: string jobs: test: @@ -30,7 +33,7 @@ jobs: build-settings: ONLY_ACTIVE_ARCH=NO configuration: Debug derived-data-path: "${{github.workspace}}/SplitApp" - destination: 'platform=iOS Simulator,OS=17.2,name=iPhone 15' + destination: ${{ inputs.destination }} project: Split.xcodeproj scheme: Split sdk: 'iphonesimulator' diff --git a/.github/workflows/build_macos.yaml b/.github/workflows/build_macos.yaml index eccb8fe1..2d7c4a25 100644 --- a/.github/workflows/build_macos.yaml +++ b/.github/workflows/build_macos.yaml @@ -4,7 +4,6 @@ on: push: branches: - master - - SDKS-8989 pull_request: branches: - master diff --git a/.github/workflows/test_all.yaml b/.github/workflows/test_all.yaml index ae9c76a2..587c3b1d 100644 --- a/.github/workflows/test_all.yaml +++ b/.github/workflows/test_all.yaml @@ -4,13 +4,20 @@ on: push: branches: - master + - SDKS-8989 pull_request: branches: - master - development jobs: + build: + uses: ./.github/workflows/base_build.yaml + with: + destination: 'platform=iOS Simulator,OS=17.2,name=iPhone 15' + scheme: Split test: + needs: build strategy: matrix: plan: [