Skip to content

Commit

Permalink
Install NPM in run-build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
gluschenko committed Oct 6, 2024
1 parent 9eacefe commit 20288be
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
5 changes: 5 additions & 0 deletions src/LanguageIdentification.CLD3.Native/Scripts/run-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ ls -R .

cd "$workspace"

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
nvm install 22
nvm use 22
npm install -g zx

zx ../Native/monkey-patch.mjs

mkdir build
Expand Down
11 changes: 0 additions & 11 deletions src/LanguageIdentification.CLD3.Native/Scripts/setup-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,6 @@ echo "Installing build packages";

apt -y update
apt -y install curl dirmngr apt-transport-https lsb-release ca-certificates
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
source ~/.bashrc
nvm install 22
nvm use 22
source ~/.bashrc
npm install -g zx
node --version
npx zx --version
source ~/.bashrc

apt -y update
apt -y install cmake
apt -y install g++
apt -y install gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64
Expand Down

0 comments on commit 20288be

Please sign in to comment.