Skip to content

Commit

Permalink
Temp build command for CI job until rosidl logic is fixed
Browse files Browse the repository at this point in the history
Signed-off-by: Evan Flynn <evan.flynn@apex.ai>
  • Loading branch information
evan-flynn-apexai committed Oct 3, 2023
1 parent f95d35b commit 26eb4c9
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ on:
workflow_dispatch:

# only run one build doc workflow at a time, cancel any running ones
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
#concurrency:
# group: ${{ github.workflow }}-${{ github.ref }}
# cancel-in-progress: true

jobs:
build_test:
Expand All @@ -23,7 +23,6 @@ jobs:
os:
- ubuntu
version:
- 18.04
- 20.04
- 22.04
runs-on: ${{ matrix.os }}-${{ matrix.version }}
Expand All @@ -35,6 +34,8 @@ jobs:
path: "/home/runner/.cache/bazel"
key: ${{ hashFiles('.bazelrc', '.bazelversion', 'WORKSPACE', 'WORKSPACE.bazel', 'MODULE.bazel') }}
- name: Build
run: bazel build //...
# TODO(evan.flynn): uncomment once the rules are properly fixed
# run: bazel build //...
run: bazel build -- $(cat repos/config/bazel.repos | sed -e '/^[#r]/d' -e '/^ /d' -e 's%/%.%' -e 's% \(.*\):%@\1//...%' -e '/@ros2.rosidl/d' -e '/@ros2.rcl_interfaces/d' -e '/@ros2.common_interfaces/d')
- name: Test
run: bazel test //...

0 comments on commit 26eb4c9

Please sign in to comment.