Skip to content

Commit

Permalink
Another if style.
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottTodd committed May 28, 2024
1 parent f2776d2 commit 6ce7fb0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -511,23 +511,23 @@ jobs:

# Simple case of no Docker container: build -> test.
- name: "Building runtime"
if: ! matrix.container
if: ${{ env.CONTAINER == '' }}
run: ./build_tools/cmake/build_runtime.sh "${BUILD_DIR}"
- name: "Testing runtime"
if: ! matrix.container
if: ${{ env.CONTAINER == '' }}
run: ./build_tools/cmake/ctest_all.sh "${BUILD_DIR}"

# With a Docker container: build under Docker -> test under Docker.
- name: "Building runtime (Docker)"
if: matrix.container
if: ${{ env.CONTAINER != '' }}
run: |
./build_tools/github_actions/docker_run.sh \
--env "BUILD_PRESET=test" \
${CONTAINER} \
./build_tools/cmake/build_runtime.sh \
"${BUILD_DIR}"
- name: "Testing runtime (Docker)"
if: matrix.container
if: ${{ env.CONTAINER != '' }}
run: |
./build_tools/github_actions/docker_run.sh \
${CONTAINER} \
Expand Down

0 comments on commit 6ce7fb0

Please sign in to comment.