• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1name: iamf-tools-builder
2
3description: Run unit tests for IAMF Tools.
4
5inputs:
6  platform:
7    description: "The platform to build for."
8    type: string
9    default: linux
10
11runs:
12  using: composite
13  steps:
14    - shell: bash
15      run: |
16        # Configure platform-specific settings.
17        if [[ "${{inputs.platform}}" == "windows" ]]; then
18          # Windows works best with a very short path as per https://bazel.build/configure/windows#long-path-issues.
19          echo  "startup --output_user_root=C:/" >> .bazelrc
20        fi
21
22        # Run all unit tests.
23        bazelisk test -c opt  --test_output=errors iamf/...
24
25