-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into add-switchbot-co2meter
- Loading branch information
Showing
17 changed files
with
132 additions
and
29 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 |
---|---|---|
|
@@ -40,7 +40,11 @@ jobs: | |
CATKIN_PARALLEL_JOBS: "-i" | ||
|
||
|
||
container: ${{ matrix.CONTAINER }} | ||
container: | ||
image: ${{ matrix.CONTAINER }} | ||
volumes: | ||
- /tmp/node20:/__e/node20 | ||
|
||
steps: | ||
- name: Install latest git ( use sudo for ros-ubuntu ) | ||
run: | | ||
|
@@ -63,6 +67,21 @@ jobs: | |
git config --global --add safe.directory $GITHUB_WORKSPACE | ||
fi | ||
- name: Try to replace `node` with an glibc 2.17 | ||
shell: bash | ||
run: | | ||
if [ "${{ matrix.CONTAINER }}" = "jskrobotics/ros-ubuntu:14.04" ]; then | ||
export USER=$(whoami) | ||
sudo chmod 777 -R /__e/node20 | ||
sudo chown -R $USER /__e/node20 | ||
fi | ||
ls -lar /__e/node20 && | ||
sudo apt-get install -y curl && | ||
curl -Lo /tmp/node.tar.gz https://unofficial-builds.nodejs.org/download/release/v20.17.0/node-v20.17.0-linux-x64-glibc-217.tar.gz && | ||
cd /__e/node20 && | ||
tar -x --strip-components=1 -f /tmp/node.tar.gz && | ||
ls -lar /__e/node20/bin/ | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
||
|
@@ -185,3 +204,64 @@ jobs: | |
if: always() | ||
run: | | ||
rm -fr ${{ matrix.ROS_DISTRO }}-${{ github.run_number }}-${{ github.run_attempt }}-${{ github.run_id }} || echo "OK" | ||
# ROS-O setup https://github.com/v4hn/ros-o-builder/blob/jammy-one/README.md#install-instructions | ||
ros-o: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- DISTRO: ubuntu:22.04 | ||
ROS_REPOSITORY_URL: https://raw.githubusercontent.com/v4hn/ros-o-builder/jammy-one/repository | ||
|
||
container: ${{ matrix.DISTRO }} | ||
|
||
env: | ||
DEBIAN_FRONTEND : noninteractive | ||
|
||
steps: | ||
- name: Chcekout Source | ||
uses: actions/[email protected] | ||
|
||
- name: Setup ROS-O deb repository | ||
run: | | ||
set -x | ||
apt update && apt install -qq -y ca-certificates | ||
echo "deb [trusted=yes] ${{ matrix.ROS_REPOSITORY_URL }}/ ./" | tee /etc/apt/sources.list.d/ros-o-builder.list | ||
apt update | ||
apt install -qq -y python3-rosdep2 | ||
echo "yaml ${{ matrix.ROS_REPOSITORY_URL }}/local.yaml debian" | tee /etc/ros/rosdep/sources.list.d/1-ros-o-builder.list | ||
rosdep update | ||
# disable installing recommends as ros-o-builder do | ||
echo 'APT::Install-Recommends "false";' | tee /etc/apt/apt.conf.d/99norecommends | ||
- name: Setup catkin-tools | ||
run: | | ||
set -x | ||
# setup catkin tools | ||
apt install -qq -y python3-pip | ||
pip3 install catkin-tools | ||
# setup build tools | ||
apt install -qq -y cmake build-essential catkin ros-one-rosbash | ||
- name: Setup Workspace | ||
run: | | ||
source /opt/ros/one/setup.bash | ||
set -x | ||
# setup workspace | ||
mkdir -p ~/ws/src | ||
cd ~/ws/src | ||
ln -sf $GITHUB_WORKSPACE . | ||
rosdep install -qq -r -y --from-path . --ignore-src || echo "OK" | ||
shell: bash | ||
|
||
- name: Compile Packages | ||
run: | | ||
source /opt/ros/one/setup.bash | ||
set -x | ||
cd ~/ws/ | ||
catkin build --no-status -sv ${{ matrix.CATKIN_OPTIONS }} --cmake-args -DCATKIN_ENABLE_TESTING=OFF -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON ${{ matrix.CMAKE_OPTIONS }} | ||
shell: bash | ||
|
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- src/downward/src/search/landmarks/landmark_factory_zhu_givan.h.bak 2024-11-13 13:20:10.508657847 +0900 | ||
+++ src/downward/src/search/landmarks/landmark_factory_zhu_givan.h 2024-11-13 13:20:12.591485789 +0900 | ||
@@ -7,6 +7,7 @@ | ||
#include "../globals.h" | ||
|
||
using namespace __gnu_cxx; | ||
+using std::vector; | ||
|
||
class LandmarkFactoryZhuGivan : public LandmarkFactory { | ||
private: |
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
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 |
---|---|---|
@@ -1,6 +1,5 @@ | ||
asn1crypto==1.3.0 | ||
certifi==2020.6.20 | ||
cffi==1.14.0 | ||
chardet==3.0.4 | ||
cryptography==2.3 | ||
enum34==1.1.10 | ||
|