-
Notifications
You must be signed in to change notification settings - Fork 57
40 lines (38 loc) · 1.06 KB
/
build_desktop.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Build (Desktop)
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-desktop:
runs-on: windows-2019
env:
VisualStudioVersion: '16.0'
steps:
- name: Checkout source
uses: actions/checkout@v3
- name: Setup ROS2
uses: ros-tooling/[email protected]
with:
required-ros-distributions: foxy
- uses: ros-tooling/[email protected]
id: action_ros_ci_step
with:
package-name: rcldotnet_examples
target-ros2-distro: foxy
vcs-repo-file-url: ${{github.workspace}}/.github/workflows/ci.repos
extra-cmake-args: -DCMAKE_SYSTEM_VERSION=10.0.19041.0 -Wno-dev
colcon-defaults: |
{
"build": {
"event-handlers": [
"console_direct+"
]
}
}
- uses: actions/upload-artifact@v4
with:
name: colcon-logs
path: ${{ steps.action_ros_ci_step.outputs.ros-workspace-directory-name }}/log
if: always() # upload the logs even when the build fails