/srv/osrm/osrm-backend/scripts/ci
NameSizeModeActions
before_install.armhf.sh11760644editdlrm
before_install.i686.sh5420644editdlrm
before_install.x86_64-asan.sh1620644editdlrm
is_pr_merge.sh7780755editdlrm
leaksanitizer.conf8330644editdlrm
node_package.sh9750755editdlrm
travis_helper.sh21440644editdlrm
undefinedsanitizer.conf7420644editdlrm
windows-build.bat27550644editdlrm
Edit: /srv/osrm/osrm-backend/scripts/ci/node_package.sh (975B)
#!/bin/bash set -eu set -o pipefail echo "node version is:" which node node -v NPM_FLAGS='' if [[ ${BUILD_TYPE} == "Debug" ]]; then NPM_FLAGS='--debug' fi # append --target_arch in order to handle cross-compilation for Apple Silicon if [[ "$ENABLE_APPLE_SILICON" == "ON" ]]; then NPM_FLAGS="${NPM_FLAGS} --target_arch=arm64" fi echo "dumping binary meta..." ./node_modules/.bin/node-pre-gyp reveal $NPM_FLAGS # enforce that binary has proper ORIGIN flags so that # it can portably find libtbb.so in the same directory if [[ $(uname -s) == 'Linux' ]]; then readelf -d ./lib/binding/node_osrm.node > readelf-output.txt if grep -q 'Flags: ORIGIN' readelf-output.txt; then echo "Found ORIGIN flag in readelf output" cat readelf-output.txt else echo "*** Error: Could not found ORIGIN flag in readelf output" cat readelf-output.txt exit 1 fi fi ./node_modules/.bin/node-pre-gyp package testpackage $NPM_FLAGS