Skip to content

Commit a6c8fb2

Browse files
committed
Manually install node on manylinux
1 parent cb74bd6 commit a6c8fb2

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/build.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -317,15 +317,24 @@ jobs:
317317
PATH: "/opt/python/cp311-cp311/bin:/opt/rh/devtoolset-10/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/github/home/.cargo/bin:/opt/mssql-tools/bin"
318318

319319
steps:
320+
# Setup
321+
322+
# actions/checkout and ukka/get-cmake use node, node uses GLIBC, GLIBC is very old on manylinux... things are off to a bad start.
323+
# But if we can get node working, things should be okay.
324+
- name: "setup: node"
325+
run: |
326+
curl https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash
327+
source ~/.bashrc
328+
nvm install 16 && nvm use 16
329+
node -e "console.log('Running Node.js ' + process.version)"
330+
320331
- uses: actions/checkout@v3
321332
with:
322333
submodules: recursive
323334

324-
#
325-
# setup
326-
#
335+
327336
- name: "setup: cmake & ninja"
328-
uses: lukka/get-cmake@v3.25.2 # workaround for node 20 issue
337+
uses: lukka/get-cmake@v3.25.2
329338
with:
330339
cmakeVersion: "${{ env.CMAKE_VERSION }}"
331340

0 commit comments

Comments
 (0)