graphhopper - add more debugging

This commit is contained in:
Licaon_Kter 2023-06-30 12:24:55 +00:00
parent e4a488b803
commit cb4d0584f9

View file

@ -158,23 +158,32 @@ Builds:
submodules: true
sudo:
- sysctl fs.inotify.max_user_watches=524288
- apt-get update
- apt-get install -y strace
- curl -Lo node.tar.gz https://nodejs.org/dist/v16.20.1/node-v16.20.1-linux-x64.tar.gz
- echo "c76d2aabd2d02542505fd24e18876fb8515e23638531249277272def42ab54e3 node.tar.gz"
| sha256sum -c -
- tar xzf node.tar.gz --strip-components=1 -C /usr/local/
gradle:
- yes
prebuild:
- cd ../../graphhopper-maps
- cp ../config.js ./
- npm install
- npm run build
init:
- cd ../..
- cp config.js graphhopper-maps/
- cd graphhopper-maps
- cat /proc/cpuinfo
- cat /etc/os-release
- npm -v
- node -v
- rm -rf node_modules
- npm --verbose install
- sed -i -e 's/gitSHA\ =/gitSHA\ ="1"\/\//g' webpack.common.js
- strace -f -e trace=execve npm run build --verbose
- mv dist/bundle.*.js dist/bundle.js
- cd ..
- npm install
- npm run build
- cp config.js dist/
- npx cap sync
gradle:
- yes
scandelete:
- node_modules/
- graphhopper-maps/node_modules/