From 3baf617768cbd7f586adc4d01c44814daa4b043b Mon Sep 17 00:00:00 2001 From: soonhyo Date: Tue, 10 Dec 2024 19:30:28 +0900 Subject: [PATCH] fix CI, override node20 https://github.com/actions/upload-artifact/issues/616\#issuecomment-2350667347 --- .github/workflows/config.yml | 20 +++++++++++++++++++- .travis | 2 +- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/.github/workflows/config.yml b/.github/workflows/config.yml index 1f36fe14..d0e65e26 100644 --- a/.github/workflows/config.yml +++ b/.github/workflows/config.yml @@ -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 ) @@ -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 diff --git a/.travis b/.travis index 5bd244b6..b223c886 160000 --- a/.travis +++ b/.travis @@ -1 +1 @@ -Subproject commit 5bd244b66837b1ceacc2288b09c1530e9abb661f +Subproject commit b223c886bcda0d96c6c03b0f0ae07da768a00155