chore: fix cache condition for native modules
This commit is contained in:
parent
b0d4a08e3e
commit
7a7d27397a
|
@ -1 +1 @@
|
||||||
2020-11-30T16:21:34.566Z
|
2020-12-05T15:02:48.675Z
|
||||||
|
|
|
@ -81,7 +81,6 @@ steps:
|
||||||
npm install -g node-gyp@latest
|
npm install -g node-gyp@latest
|
||||||
node-gyp --version
|
node-gyp --version
|
||||||
displayName: Update node-gyp
|
displayName: Update node-gyp
|
||||||
condition: and(succeeded(), ne(variables['CacheRestored'], 'true'))
|
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
set -e
|
set -e
|
||||||
|
|
|
@ -74,7 +74,6 @@ steps:
|
||||||
npm install -g node-gyp@latest
|
npm install -g node-gyp@latest
|
||||||
node-gyp --version
|
node-gyp --version
|
||||||
displayName: Update node-gyp
|
displayName: Update node-gyp
|
||||||
condition: and(succeeded(), ne(variables['CacheRestored'], 'true'))
|
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
set -e
|
set -e
|
||||||
|
@ -108,8 +107,9 @@ steps:
|
||||||
set -e
|
set -e
|
||||||
export CC=$(which gcc-4.8)
|
export CC=$(which gcc-4.8)
|
||||||
export CXX=$(which g++-4.8)
|
export CXX=$(which g++-4.8)
|
||||||
cd remote
|
export npm_config_node_gyp=$(which node-gyp)
|
||||||
node-gyp rebuild
|
cd remote && rm -rf node_modules/
|
||||||
|
yarn
|
||||||
displayName: Rebuild remote modules with gcc-4.8
|
displayName: Rebuild remote modules with gcc-4.8
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
|
|
Loading…
Reference in a new issue