-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Updated Ubuntu and Windows jobs * Updated README * Updated lint jobs
- Loading branch information
Showing
9 changed files
with
113 additions
and
160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,6 @@ on: | |
branches: | ||
- master | ||
pull_request: | ||
schedule: | ||
- cron: '0 5 * * *' | ||
|
||
jobs: | ||
clang_format: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Ubuntu [Focal, Jammy, Noble] | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
schedule: | ||
- cron: '0 5 * * *' | ||
|
||
jobs: | ||
ci: | ||
name: ${{ matrix.distro }} | ||
runs-on: ubuntu-latest | ||
container: | ||
image: ubuntu:${{ matrix.distro }} | ||
env: | ||
DEBIAN_FRONTEND: noninteractive | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
distro: [focal, jammy, noble] | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
path: target_ws/src | ||
|
||
- name: Install dependencies | ||
run: | | ||
apt update -q | ||
apt install -q -y clang-tidy | ||
- name: Build and test | ||
uses: tesseract-robotics/colcon-action@v9 | ||
with: | ||
ccache-enabled: false | ||
add-ros-ppa: true | ||
rosdep-enabled: true | ||
vcs-file: dependencies.repos | ||
target-path: target_ws/src | ||
target-args: --cmake-args -DCMAKE_BUILD_TYPE=Debug -DDESCARTES_ENABLE_TESTING=ON -DDESCARTES_ENABLE_CLANG_TIDY=ON | ||
run-tests: true |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
name: Windows [2019, 2022] | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
schedule: | ||
- cron: '0 5 * * *' | ||
|
||
jobs: | ||
ci: | ||
name: ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [windows-2019, windows-2022] | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
path: target_ws/src | ||
|
||
- name: Setup cmake | ||
uses: jwlawson/actions-setup-cmake@v2 | ||
with: | ||
cmake-version: '3.28.x' | ||
|
||
- name: vcpkg build | ||
uses: johnwason/vcpkg-action@v6 | ||
with: | ||
pkgs: console-bridge eigen3 boost-graph gtest | ||
triplet: x64-windows-release | ||
extra-args: --clean-after-build | ||
token: ${{ github.token }} | ||
cache-key: ci-${{ matrix.os }} | ||
github-binarycache: true | ||
revision: 2024.01.12 | ||
|
||
- name: configure-msvc | ||
uses: ilammy/msvc-dev-cmd@v1 | ||
with: | ||
arch: x64 | ||
|
||
- name: update environment | ||
shell: bash | ||
run: | | ||
echo "PATH=${{ env.PATH }};$GITHUB_WORKSPACE\vcpkg\installed\x64-windows-release\bin" >> "$GITHUB_ENV" | ||
echo "CMAKE_PREFIX_PATH=$GITHUB_WORKSPACE\vcpkg\installed\x64-windows-release" >> "$GITHUB_ENV" | ||
- name: Build and Tests | ||
uses: tesseract-robotics/colcon-action@v9 | ||
with: | ||
ccache-prefix: ${{ matrix.os }} | ||
rosdep-enabled: false | ||
add-ros-ppa: false | ||
vcs-file: dependencies.repos | ||
upstream-args: --cmake-args -G "Ninja" -DVCPKG_TARGET_TRIPLET=x64-windows-release -DCMAKE_BUILD_TYPE=Release | ||
target-path: target_ws/src | ||
target-args: --cmake-args -G "Ninja" -DVCPKG_TARGET_TRIPLET=x64-windows-release -DCMAKE_BUILD_TYPE=Release -DDESCARTES_ENABLE_TESTING=ON | ||
run-tests: true |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.