-
Notifications
You must be signed in to change notification settings - Fork 108
40 lines (38 loc) · 1.26 KB
/
build_and_test.yml
File metadata and controls
40 lines (38 loc) · 1.26 KB
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: CI
on: [push, pull_request]
jobs:
linux_build_and_test:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Install Java
run: |
sudo apt update -qq
sudo apt install -y default-jdk
- uses: ros-tooling/setup-ros@0.0.24
with:
required-ros-distributions: dashing
- uses: ros-tooling/action-ros-ci@658ebdf
with:
package-name: rosidl_generator_java rcljava_common rcljava
source-ros-binary-installation: dashing
vcs-repo-file-url: "${{ github.workspace }}/ros2_java_desktop.repos"
windows_build_and_test:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: '11.0.6' # The JDK version to make available on the path.
java-package: jdk
architecture: x64
- uses: ros-tooling/setup-ros@0.0.24
with:
required-ros-distributions: dashing
- uses: ros-tooling/action-ros-ci@658ebdf
with:
colcon-extra-args: --merge-install
package-name: rosidl_generator_java rcljava_common rcljava
vcs-repo-file-url: |
https://raw.githubusercontent.com/ros2/ros2/dashing/ros2.repos
${{ github.workspace }}\ros2_java_desktop.repos