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