chore: fix cache condition for native modules

This commit is contained in:
deepak1556 2020-12-05 07:03:28 -08:00
parent b0d4a08e3e
commit 7a7d27397a
3 changed files with 4 additions and 5 deletions

View file

@ -1 +1 @@
2020-11-30T16:21:34.566Z
2020-12-05T15:02:48.675Z

View file

@ -81,7 +81,6 @@ steps:
npm install -g node-gyp@latest
node-gyp --version
displayName: Update node-gyp
condition: and(succeeded(), ne(variables['CacheRestored'], 'true'))
- script: |
set -e

View file

@ -74,7 +74,6 @@ steps:
npm install -g node-gyp@latest
node-gyp --version
displayName: Update node-gyp
condition: and(succeeded(), ne(variables['CacheRestored'], 'true'))
- script: |
set -e
@ -108,8 +107,9 @@ steps:
set -e
export CC=$(which gcc-4.8)
export CXX=$(which g++-4.8)
cd remote
node-gyp rebuild
export npm_config_node_gyp=$(which node-gyp)
cd remote && rm -rf node_modules/
yarn
displayName: Rebuild remote modules with gcc-4.8
- script: |