Skip to content

Commit

Permalink
node
Browse files Browse the repository at this point in the history
  • Loading branch information
SOVLOOKUP committed Oct 13, 2023
1 parent 18ddeb0 commit 1fbbfb1
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,16 +167,14 @@ jobs:
install: |
set -e &&
apt-get update &&
apt-get install libxdo-dev uuid-dev libc-dev pkg-config libglib2.0-dev libgtk-3-dev libgtk2.0-dev libpango1.0-dev libcairo2-dev libfontconfig1-dev -y &&
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash &&
source ~/.bashrc &&
nvm install --lts &&
apt-get install nodejs npm libxdo-dev uuid-dev libc-dev pkg-config libglib2.0-dev libgtk-3-dev libgtk2.0-dev libpango1.0-dev libcairo2-dev libfontconfig1-dev -y &&
npm install n -g &&
n stable &&
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh /dev/stdin -y &&
source $HOME/.cargo/env &&
rustup target add aarch64-unknown-linux-gnu
run: |
cd /addon &&
nvm use --lts &&
npm install &&
PKG_CONFIG_SYSROOT_DIR=/ CARGO_BUILD_TARGET=aarch64-unknown-linux-gnu npm run build &&
strip *.node
Expand Down

0 comments on commit 1fbbfb1

Please sign in to comment.