Skip to content

Commit

Permalink
bug fixed of build on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
tmori committed Dec 27, 2023
1 parent 0a4f016 commit 4c9b913
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,16 @@ jobs:
with:
python-version: '3.10'

- name: Build hakoniwa-px4sim/drone_physics
- name: Build hakoniwa-px4sim/drone_physics on ubuntu
if: startsWith(matrix.os, 'ubuntu')
run: |
cd drone_physics && cmake . && make
cd drone_physics && cmake -D HAKO_CLIENT_OPTION_FILEPATH=../cmake-options/linux-cmake-options.cmake . && make
- name: Build hakoniwa-px4sim/drone_physics on macOs
if: startsWith(matrix.os, 'macos')
run: |
cd drone_physics && cmake . && make

- name: hakoniwa-px4sim/hakoniwa
run: |
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# hakoniwa-px4sim

[![Build](https://github.com/toppers/hakoniwa-px4sim/actions/workflows/build.yml/badge.svg)](https://github.com/toppers/hakoniwa-px4sim/actions/workflows/build.yml)
[![Build](https://github.com/toppers/hakoniwa-px4sim/actions/workflows/build.yml/badge.svg)](https://github.com/toppers/hakoniwa-px4sim/actions/workflows/build.yml) [![Test](https://github.com/toppers/hakoniwa-px4sim/actions/workflows/test.yml/badge.svg)](https://github.com/toppers/hakoniwa-px4sim/actions/workflows/test.yml)

[![Test](https://github.com/toppers/hakoniwa-px4sim/actions/workflows/test.yml/badge.svg)](https://github.com/toppers/hakoniwa-px4sim/actions/workflows/test.yml)
## 環境

* サポートOS
Expand Down

0 comments on commit 4c9b913

Please sign in to comment.