From 810ad7a3d71aa06befcd288bc9a2a784c2ec24fb Mon Sep 17 00:00:00 2001 From: Kei Okada Date: Tue, 7 Jan 2025 08:39:31 +0900 Subject: [PATCH] fix CI: update jsk_travis 0.5.27, override node20 https://github.com/actions/upload-artifact/issues/616#issuecomment-2350667347 see https://github.com/jsk-ros-pkg/jsk_common/pull/1808 --- .github/workflows/config.yml | 21 ++++++++++++++++++++- .travis | 2 +- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/.github/workflows/config.yml b/.github/workflows/config.yml index 3689f3fe9..019f57f5a 100644 --- a/.github/workflows/config.yml +++ b/.github/workflows/config.yml @@ -102,7 +102,11 @@ jobs: NOT_TEST_INSTALL : true - container: ${{ matrix.CONTAINER }} + container: + image: ${{ matrix.CONTAINER }} + volumes: + - /tmp/node20:/__e/node20 + steps: - name: Install latest git ( use sudo for ros-ubuntu ) run: | @@ -125,6 +129,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 diff --git a/.travis b/.travis index 5e0ae4e34..b223c886b 160000 --- a/.travis +++ b/.travis @@ -1 +1 @@ -Subproject commit 5e0ae4e342f736d06b0bdaebb239bf6a260598bf +Subproject commit b223c886bcda0d96c6c03b0f0ae07da768a00155