Some checks are pending
Build AeThex Engine / build-windows (push) Waiting to run
Build AeThex Engine / build-linux (push) Waiting to run
Build AeThex Engine / build-macos (push) Waiting to run
Build AeThex Engine / create-release (push) Blocked by required conditions
Deploy Docsify Documentation / build (push) Waiting to run
Deploy Docsify Documentation / deploy (push) Blocked by required conditions
15 lines
286 B
Bash
15 lines
286 B
Bash
#!/bin/sh
|
|
|
|
set -xe
|
|
|
|
echo "Running on $(node -v)"
|
|
|
|
# Cleanup
|
|
rm -rf node_modules build-tmp-* lib/binding
|
|
|
|
# Install build dependencies
|
|
if [ -f /etc/alpine-release ]; then
|
|
apk add --no-cache --virtual .build-deps make gcc g++ python3
|
|
fi
|
|
|
|
su node -c "npm test; npx node-pre-gyp package"
|