Skip to content

Commit

Permalink
Manually install node on manylinux
Browse files Browse the repository at this point in the history
  • Loading branch information
olsen232 committed Sep 4, 2024
1 parent cb74bd6 commit df6fa9f
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -317,15 +317,25 @@ jobs:
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"

steps:
# Setup

# actions/checkout and ukka/get-cmake use node, node uses GLIBC, GLIBC is very old on manylinux... things are off to a bad start.
# But if we can get node working, things should be okay.
- name: "setup: node"
run: |
curl https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash
export NVM_DIR="$HOME/.nvm"
source "$NVM_DIR/nvm.sh"
nvm install 16 && nvm use 16
node -e "console.log('Running Node.js ' + process.version)"
- uses: actions/checkout@v3
with:
submodules: recursive

#
# setup
#

- name: "setup: cmake & ninja"
uses: lukka/[email protected] # workaround for node 20 issue
uses: lukka/[email protected]
with:
cmakeVersion: "${{ env.CMAKE_VERSION }}"

Expand Down

0 comments on commit df6fa9f

Please sign in to comment.