Remove unused emsdk setup

This commit is contained in:
Alex Dima
2026-06-06 10:28:55 +02:00
parent 518cb7ea25
commit d0aa1042fb
2 changed files with 1 additions and 18 deletions

View File

@@ -37,21 +37,11 @@ steps:
- task: Cache@2
inputs:
key: '"copilot_build_cache" | $(Build.SourcesDirectory)/extensions/copilot/build/.cachesalt | $(Build.SourcesDirectory)/extensions/copilot/build/setup-emsdk.sh | $(Build.SourcesDirectory)/extensions/copilot/package-lock.json'
key: '"copilot_build_cache" | $(Build.SourcesDirectory)/extensions/copilot/build/.cachesalt | $(Build.SourcesDirectory)/extensions/copilot/package-lock.json'
path: $(Build.SourcesDirectory)/extensions/copilot/.build/build_cache
cacheHitVar: BUILD_CACHE_RESTORED
displayName: Restore copilot build cache
- script: $(Build.SourcesDirectory)/extensions/copilot/build/setup-emsdk.sh
displayName: Setup emsdk
condition: and(succeeded(), ne(variables.BUILD_CACHE_RESTORED, 'true'))
- script: echo '##vso[task.prependpath]/opt/dev/emsdk/upstream/emscripten'
displayName: Setup emsdk path 1
condition: and(succeeded(), ne(variables.BUILD_CACHE_RESTORED, 'true'))
- script: echo '##vso[task.prependpath]/opt/dev/emsdk'
displayName: Setup emsdk path 2
condition: and(succeeded(), ne(variables.BUILD_CACHE_RESTORED, 'true'))
- script: tar -xzf .build/build_cache/cache.tgz
workingDirectory: $(Build.SourcesDirectory)/extensions/copilot
condition: and(succeeded(), eq(variables.BUILD_CACHE_RESTORED, 'true'))

View File

@@ -1,7 +0,0 @@
mkdir -p /opt/dev \
&& cd /opt/dev \
&& git clone https://github.com/emscripten-core/emsdk.git \
&& cd /opt/dev/emsdk \
&& git reset --hard 0fde04880048f743056bed17cb0543a42e040fae \
&& ./emsdk install 3.1.55 \
&& ./emsdk activate 3.1.55