Skip to content

Commit

Permalink
fix centos ci
Browse files Browse the repository at this point in the history
  • Loading branch information
cyjseagull committed Dec 3, 2024
1 parent 9206ec9 commit 0929009
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/cpp_sdk_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,22 +107,25 @@ jobs:

build_centos_for_sdk:
name: build_centos_for_sdk
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
continue-on-error: true
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
container:
- centos-7.9
container:
image: docker.io/centos:7
volumes:
- /usr/local/share/vcpkg:/usr/local/share/vcpkg
- /node20217:/node20217:rw,rshared
- ${{ matrix.container == 'centos-7.9' && '/node20217:/__e/node20:ro,rshared' || ' ' }}
steps:
- name: replace nodes
- name: install nodejs20glibc2.17
if: ${{ matrix.container == 'centos-7.9' }}
run: |
sudo rm -rf /__e/node20
echo "#### nodes list: "`ls /__e/node*`
cd /__e/ ln -s /__e/node16 node20
curl -LO https://unofficial-builds.nodejs.org/download/release/v20.9.0/node-v20.9.0-linux-x64-glibc-217.tar.xz
tar -xf node-v20.9.0-linux-x64-glibc-217.tar.xz --strip-components 1 -C /node20217
- uses: actions/checkout@v3
with:
clean: false
Expand Down

0 comments on commit 0929009

Please sign in to comment.