mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
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
|
||||
node-gyp --version
|
||||
displayName: Update node-gyp
|
||||
condition: and(succeeded(), ne(variables['CacheRestored'], 'true'))
|
||||
|
||||
- script: |
|
||||
set -e
|
||||
|
|
|
@ -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: |
|
||||
|
|
Loading…
Reference in a new issue