mirror of
https://github.com/okalachev/flix.git
synced 2026-01-09 12:36:49 +00:00
Compare commits
3 Commits
0547ea548b
...
run-sim
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d0eb2dd9ba | ||
|
|
44ed3cf42c | ||
|
|
aa02e6344b |
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@@ -48,6 +48,8 @@ jobs:
|
||||
run: sudo apt-get install libsdl2-dev
|
||||
- name: Build simulator
|
||||
run: make build_simulator
|
||||
- name: Run simulator
|
||||
run: timeout --preserve-status 30 make simulator GAZEBO=gzserver || [ $? -eq 143 ]
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: gazebo-plugin-binary
|
||||
@@ -73,3 +75,7 @@ jobs:
|
||||
run: brew install sdl2
|
||||
- name: Build simulator
|
||||
run: make build_simulator
|
||||
- name: Run simulator
|
||||
run: |
|
||||
brew install coreutils
|
||||
timeout --preserve-status 30 make simulator GAZEBO=gzserver || [ $? -eq 143 ]
|
||||
|
||||
3
Makefile
3
Makefile
@@ -26,10 +26,11 @@ gazebo/build cmake: gazebo/CMakeLists.txt
|
||||
build_simulator: .dependencies gazebo/build
|
||||
make -C gazebo/build
|
||||
|
||||
GAZEBO ?= gazebo
|
||||
simulator: build_simulator
|
||||
GAZEBO_MODEL_PATH=$$GAZEBO_MODEL_PATH:${CURDIR}/gazebo/models \
|
||||
GAZEBO_PLUGIN_PATH=$$GAZEBO_PLUGIN_PATH:${CURDIR}/gazebo/build \
|
||||
gazebo --verbose ${CURDIR}/gazebo/flix.world
|
||||
$(GAZEBO) --verbose ${CURDIR}/gazebo/flix.world
|
||||
|
||||
log:
|
||||
PORT=$(PORT) tools/grab_log.py
|
||||
|
||||
Reference in New Issue
Block a user