Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix github action #500

Merged
merged 2 commits into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@ jobs:
TEST_PKGS: "pr2eus_moveit pr2eus_tutorials"


container: ${{ matrix.CONTAINER }}
container:
image: ${{ matrix.CONTAINER }}
volumes:
- /tmp/node20:/__e/node20

steps:
- name: Install latest git ( use sudo for ros-ubuntu )
Expand All @@ -96,6 +99,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/checkout@v3.0.2

Expand Down
2 changes: 1 addition & 1 deletion pr2eus_tutorials/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

<!-- Dependencies needed to compile this package. -->
<build_depend>pr2eus</build_depend>
<build_depend>jsk_pcl_ros</build_depend>

<!-- Dependencies needed after this package is compiled. -->
<run_depend>app_manager</run_depend>
Expand All @@ -31,6 +30,7 @@
<run_depend>jsk_rviz_plugins</run_depend>
<run_depend>jsk_pr2_startup</run_depend>
<run_depend>jsk_maps</run_depend>
<run_depend>jsk_pcl_ros</run_depend>

<!-- Dependencies needed only for running tests. -->
<test_depend>rostest</test_depend>
Expand Down
Loading