From c442c2c10f5f35865e8feb0ace64b1e7a2912e79 Mon Sep 17 00:00:00 2001 From: Yadunund Date: Thu, 25 Aug 2022 17:55:29 +0530 Subject: [PATCH] Update ci Signed-off-by: Yadunund --- .github/workflows/nightly.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml index 295dffa..3654d21 100644 --- a/.github/workflows/nightly.yaml +++ b/.github/workflows/nightly.yaml @@ -1,5 +1,5 @@ name: nightly -on: +on: push: pull_request: schedule: @@ -9,16 +9,22 @@ jobs: build_and_test: name: Nightly build and test runs-on: ubuntu-20.04 + container: + image: rostooling/setup-ros-docker:ubuntu-focal-latest steps: - name: deps - uses: ros-tooling/setup-ros@v0.2 + uses: ros-tooling/setup-ros@v0.3 with: required-ros-distributions: galactic + - name: install_clang + run: sudo apt update && sudo apt install -y clang clang-tools lld - uses: actions/checkout@v2 - name: build_and_test uses: ros-tooling/action-ros-ci@v0.2 env: QT_QPA_PLATFORM: offscreen + CC: clang + CXX: clang++ with: target-ros2-distro: galactic # build all packages listed in the meta package @@ -59,7 +65,7 @@ jobs: colcon-defaults: | { "build": { - "mixin": ["coverage-gcc"] + "mixin": ["coverage-gcc", "lld"] } } colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml