Skip to content

Commit 7701ed5

Browse files
jacobperronesteve
authored andcommitted
Add GitHub workflow for Windows CI
Signed-off-by: Jacob Perron <[email protected]>
1 parent e479cd1 commit 7701ed5

File tree

1 file changed

+23
-4
lines changed

1 file changed

+23
-4
lines changed

.github/workflows/build_and_test.yml

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,37 @@ name: CI
33
on: [push]
44

55
jobs:
6-
build_and_test:
6+
linux_build_and_test:
77
runs-on: ubuntu-18.04
88
steps:
9+
- uses: actions/checkout@v2
910
- name: Install Java
1011
run: |
1112
sudo apt update -qq
1213
sudo apt install -y default-jdk
13-
- uses: ros-tooling/[email protected].14
14+
- uses: ros-tooling/[email protected].20
1415
with:
1516
required-ros-distributions: dashing
16-
- uses: ros-tooling/action-ros-ci@8d58122
17+
- uses: ros-tooling/action-ros-ci@e96382d
1718
with:
1819
package-name: rosidl_generator_java rcljava_common rcljava
1920
source-ros-binary-installation: dashing
20-
vcs-repo-file-url: https://raw.githubusercontent.com/ros2-java/ros2_java/dashing/ros2_java_desktop.repos
21+
vcs-repo-file-url: "${{ github.workspace }}/ros2_java_desktop.repos"
22+
windows_build_and_test:
23+
runs-on: windows-latest
24+
steps:
25+
- uses: actions/checkout@v2
26+
- uses: actions/setup-java@v1
27+
with:
28+
java-version: '11.0.6' # The JDK version to make available on the path.
29+
java-package: jdk
30+
architecture: x64
31+
- uses: ros-tooling/[email protected]
32+
with:
33+
required-ros-distributions: dashing
34+
- uses: ros-tooling/action-ros-ci@e96382d
35+
with:
36+
package-name: rosidl_generator_java rcljava_common rcljava
37+
vcs-repo-file-url: |
38+
"https://raw.githubusercontent.com/ros2/ros2/dashing/ros2.repos"
39+
"${{ github.workspace }}/ros2_java_desktop.repos"

0 commit comments

Comments
 (0)