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 submodules: true
sudo: sudo:
- sysctl fs.inotify.max_user_watches=524288 - 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 - 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" - echo "c76d2aabd2d02542505fd24e18876fb8515e23638531249277272def42ab54e3 node.tar.gz"
| sha256sum -c - | sha256sum -c -
- tar xzf node.tar.gz --strip-components=1 -C /usr/local/ - tar xzf node.tar.gz --strip-components=1 -C /usr/local/
gradle: init:
- yes - cd ../..
prebuild: - cp config.js graphhopper-maps/
- cd ../../graphhopper-maps - cd graphhopper-maps
- cp ../config.js ./ - cat /proc/cpuinfo
- npm install - cat /etc/os-release
- npm run build - 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 - mv dist/bundle.*.js dist/bundle.js
- cd .. - cd ..
- npm install - npm install
- npm run build - npm run build
- cp config.js dist/ - cp config.js dist/
- npx cap sync - npx cap sync
gradle:
- yes
scandelete: scandelete:
- node_modules/ - node_modules/
- graphhopper-maps/node_modules/ - graphhopper-maps/node_modules/