-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #157 from k-okada/action
Add GithubAction, release 3.1.10
- Loading branch information
Showing
24 changed files
with
294 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
on: | ||
push: | ||
branches: | ||
# - master | ||
pull_request: | ||
|
||
env: | ||
DISPLAY: '0:0' | ||
|
||
jobs: | ||
linuxs: | ||
runs-on: ubuntu-latest | ||
# continue-on-error: ${{ matrix.experimental }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- ROS_DISTRO: indigo | ||
CONTAINER: ubuntu:14.04 | ||
- ROS_DISTRO: kinetic | ||
CONTAINER: ubuntu:16.04 | ||
- ROS_DISTRO: melodic | ||
CONTAINER: ubuntu:18.04 | ||
- ROS_DISTRO: noetic | ||
CONTAINER: ubuntu:20.04 | ||
|
||
container: ${{ matrix.CONTAINER }} | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: remove esm repos | ||
if: ${{ matrix.CONTAINER == 'ubuntu:14.04' }} | ||
run: sudo rm /etc/apt/sources.list.d/ubuntu-esm-infra-trusty.list ## fix Err https://esm.ubuntu.com trusty-infra-security/main amd64 Packages, gnutls_handshake() failed: Handshake failed | ||
|
||
- name: Run test | ||
shell: bash | ||
run: | | ||
set -x | ||
export ROS_DISTRO=${{ matrix.ROS_DISTRO }} | ||
ls -al | ||
. ./.travis.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
diff --git a/util/simulator/CMakeLists.txt b/util/simulator/CMakeLists.txt | ||
index beb53389..2fb81821 100644 | ||
--- a/util/simulator/CMakeLists.txt | ||
+++ b/util/simulator/CMakeLists.txt | ||
@@ -32,12 +32,20 @@ add_library(hrpsysext SHARED | ||
PyShape.cpp | ||
) | ||
|
||
-find_package(Boost REQUIRED COMPONENTS python) | ||
-target_link_libraries(hrpsysext | ||
- Boost::python | ||
- hrpsysUtil | ||
- ${PYTHON_LIBRARIES} | ||
- ) | ||
+find_package(Boost COMPONENTS python) | ||
+if(Boost_python_FOUND) # Boost::python released since 1.67 https://www.boost.org/doc/libs/1_71_0/libs/python/doc/html/rn.html | ||
+ target_link_libraries(hrpsysext | ||
+ Boost::python | ||
+ hrpsysUtil | ||
+ ${PYTHON_LIBRARIES} | ||
+ ) | ||
+else() | ||
+ target_link_libraries(hrpsysext | ||
+ boost_python | ||
+ hrpsysUtil | ||
+ ${PYTHON_LIBRARIES} | ||
+ ) | ||
+endif() | ||
|
||
set_target_properties(hrpsysext PROPERTIES PREFIX "") | ||
set_target_properties(hrpsysext PROPERTIES SUFFIX ".so") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -533,7 +533,7 @@ def test (): | |
|
||
while 1: | ||
m.update() | ||
print m.get_pos() | ||
print(m.get_pos()) | ||
|
||
|
||
if __name__ == '__main__': test() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.