From 8beeb5579c36d42dd09a734919abecde794e32ae Mon Sep 17 00:00:00 2001 From: sugikazu75 Date: Sat, 25 May 2024 17:59:18 +0900 Subject: [PATCH 1/3] [GA] refactored github actions --- .travis.sh | 2 +- .travis.yml | 15 --------------- 2 files changed, 1 insertion(+), 16 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.sh b/.travis.sh index df8f561a0..60a1df722 100644 --- a/.travis.sh +++ b/.travis.sh @@ -72,5 +72,5 @@ fi # Build catkin config --cmake-args -DCMAKE_EXPORT_COMPILE_COMMANDS=ON catkin build -p1 -j1 --no-status -catkin build --catkin-make-args run_tests -- -i --no-deps --no-status -p 1 -j 1 aerial_robot +catkin build --catkin-make-args run_tests -- -i --no-deps --no-status aerial_robot catkin_test_results --verbose build || catkin_test_results --all build diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 803f11213..000000000 --- a/.travis.yml +++ /dev/null @@ -1,15 +0,0 @@ -sudo: required -dist: trusty -language: generic -env: - matrix: - - ROS_DISTRO="kinetic" REPOSITORY=http://packages.ros.org/ros/ubuntu - - ROS_DISTRO="melodic" REPOSITORY=http://packages.ros.org/ros/ubuntu - -install: - - case $ROS_DISTRO in "kinetic") export DISTRO=xenial;; "melodic") export DISTRO=bionic ;; esac; - - export DOCKER_IMAGE=ubuntu:$DISTRO - - export CI_SOURCE_PATH=$(pwd) - - export REPOSITORY_NAME=${PWD##*/} - - docker images - - docker run -v $HOME:$HOME -e CI_SOURCE_PATH -e REPOSITORY_NAME -e HOME -e DISTRO -e ROS_DISTRO -e REPOSITORY $DOCKER_IMAGE bash -c 'cd $CI_SOURCE_PATH; source .travis.sh' From 155ac3338703da8ada10cfb01c2b26808684102e Mon Sep 17 00:00:00 2001 From: sugikazu75 Date: Sat, 25 May 2024 18:06:03 +0900 Subject: [PATCH 2/3] [GA] remove -p1 -j1 for catkin build --- .travis.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.sh b/.travis.sh index 60a1df722..7fa88daac 100644 --- a/.travis.sh +++ b/.travis.sh @@ -71,6 +71,6 @@ fi # Build catkin config --cmake-args -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -catkin build -p1 -j1 --no-status +catkin build --no-status catkin build --catkin-make-args run_tests -- -i --no-deps --no-status aerial_robot catkin_test_results --verbose build || catkin_test_results --all build From a0cae7b3112916b22a4718e644b1e0d0abdacf23 Mon Sep 17 00:00:00 2001 From: sugikazu75 Date: Sat, 25 May 2024 18:32:04 +0900 Subject: [PATCH 3/3] [GA] fix rostest option --- .travis.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.sh b/.travis.sh index 7fa88daac..1b8ee4de9 100644 --- a/.travis.sh +++ b/.travis.sh @@ -72,5 +72,5 @@ fi # Build catkin config --cmake-args -DCMAKE_EXPORT_COMPILE_COMMANDS=ON catkin build --no-status -catkin build --catkin-make-args run_tests -- -i --no-deps --no-status aerial_robot +catkin build --catkin-make-args run_tests -- -i --no-deps --no-status -p 1 -j 1 aerial_robot catkin_test_results --verbose build || catkin_test_results --all build