You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+33-2Lines changed: 33 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -10,8 +10,10 @@ This action sets up a Gazebo release inside a Linux environment.
10
10
1.[Setting up worker and installing a compatible Gazebo and Ubuntu combination](#Setting-up-worker-and-installing-a-compatible-Gazebo-and-Ubuntu-combination)
11
11
1.[Iterating on all Gazebo and Ubuntu combinations](#Iterating-on-all-gazebo-ubuntu-combinations)
1.[Setting up worker to install Gazebo on macOS](#Setting-up-worker-to-install-Gazebo-on-macOS)
15
+
3.[Windows](#Windows)
16
+
1.[Setting up worker to install Gazebo on Windows](#Setting-up-worker-to-install-Gazebo-on-Windows)
15
17
1.[License](#License)
16
18
17
19
## Overview
@@ -25,6 +27,7 @@ It is recommended to use the `setup-gazebo` action inside a Docker container due
25
27
`setup-gazebo` action works for all non-EOL Gazebo [releases] on the following platforms:
26
28
- Ubuntu
27
29
- macOS
30
+
- Windows
28
31
29
32
## Tasks performed by the action
30
33
@@ -36,6 +39,8 @@ The `setup-gazebo` action performs the following tasks:
36
39
- Registers the Open Robotics APT repository
37
40
- On macOS:
38
41
- Tapping into the [osrf/homebrew-simulation](https://github.com/osrf/homebrew-simulation) using Homebrew
42
+
- On Windows:
43
+
- Installing Gazebo using Conda from conda-forge
39
44
## Usage
40
45
41
46
See [action.yml](action.yml)
@@ -155,7 +160,7 @@ This workflow shows how to use binaries from [pre-release] or [nightly] Gazebo r
155
160
run: 'gz sim --versions'
156
161
```
157
162
158
-
### MacOS
163
+
### macOS
159
164
160
165
#### Setting up worker to install Gazebo on macOS
161
166
@@ -177,6 +182,32 @@ This workflow shows how to install Gazebo on a macOS worker. The action needs an
177
182
run: 'gz sim --versions'
178
183
```
179
184
185
+
### Windows
186
+
187
+
This workflow shows how to install Gazebo on a Windows worker. The action requires a Conda package management system such as miniconda as all Gazebo packages are available on conda-forge. The action is run by specifying the distribution of choice in `required-gazebo-distributions` field.
188
+
189
+
#### Setting up worker to install Gazebo on Windows
190
+
191
+
```yaml
192
+
test_gazebo:
193
+
runs-on: windows-latest
194
+
steps:
195
+
- uses: actions/checkout@v4
196
+
- uses: actions/setup-node@v4.0.2
197
+
with:
198
+
node-version: '20.x'
199
+
- uses: conda-incubator/setup-miniconda@v3
200
+
- name: 'Check Gazebo installation on Windows runner'
0 commit comments