From d08c32d3d54c29ecb15c3d5aac6595232b7e0893 Mon Sep 17 00:00:00 2001 From: Michael Kazakov Date: Mon, 8 Jan 2024 21:54:27 +0000 Subject: [PATCH] GHA - build Debug and Release unit tests in parallel --- .github/workflows/build.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cfb96d5c3..29045d808 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,10 +1,13 @@ name: Build and Test on: [workflow_dispatch] jobs: - build: - runs-on: [macos-13] + run-unit-tests: + runs-on: macos-13 env: XC_VERSION: ${{ '15.1' }} + strategy: + matrix: + configuration: ["Debug", "Release"] steps: - name: Select latest Xcode run: "sudo xcode-select -s /Applications/Xcode_$XC_VERSION.app" @@ -12,4 +15,4 @@ jobs: - name: Build and run unit tests run: | cd Scripts - ./run_all_unit_tests.sh + ./run_all_unit_tests.sh ${{ matrix.configuration }}