Skip to content

Commit

Permalink
GHA - build Debug and Release unit tests in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
mikekazakov committed Jan 8, 2024
1 parent c6c5d1a commit d08c32d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
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"
- uses: actions/checkout@v2
- name: Build and run unit tests
run: |
cd Scripts
./run_all_unit_tests.sh
./run_all_unit_tests.sh ${{ matrix.configuration }}

0 comments on commit d08c32d

Please sign in to comment.