File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -31,9 +31,6 @@ extends:
31
31
buildPlatforms :
32
32
- name : Linux
33
33
vsceTarget : ' '
34
- - name : Linux
35
- packageArch : x64
36
- vsceTarget : linux-alpine
37
34
- name : Linux
38
35
packageArch : arm64
39
36
vsceTarget : linux-arm64
@@ -85,8 +82,8 @@ extends:
85
82
displayName : Install nox
86
83
87
84
# update according packageArch
88
- - script : python -m nox --session install_bundled_libs -- ${{ variables.packageArch }}
89
- displayName : Install libraries
85
+ - script : python -m nox --session install_bundled_libs -- ${{ variables.VSCETARGET }}
86
+ displayName : Install Python dependencies
90
87
env :
91
88
VSCETARGET : ${{ variables.VSCETARGET }}
92
89
Original file line number Diff line number Diff line change 13
13
import nox # pylint: disable=import-error
14
14
15
15
debugpy_urls = {
16
- "macOS " : {
16
+ "MacOS " : {
17
17
"url" : "https://files.pythonhosted.org/packages/b1/46/0304622c2c81215298294eba53c038c6d339b783928117687e756ade7def/debugpy-1.8.0-cp310-cp310-macosx_11_0_x86_64.whl" ,
18
18
"hash" : "7fb95ca78f7ac43393cd0e0f2b6deda438ec7c5e47fa5d38553340897d2fbdfb"
19
19
@@ -135,9 +135,9 @@ def install_bundled_libs(session):
135
135
"""Installs the libraries that will be bundled with the extension."""
136
136
session .install ("wheel" )
137
137
_install_bundle (session )
138
- target = os .environ .get ('VSCETARGET' )
139
- print ("target: " , target )
140
138
139
+ target = os .environ .get ('VSCETARGET' )
140
+ print ("target:" , target )
141
141
if "linux" in target :
142
142
download_url (f"{ os .getcwd ()} /bundled/libs" , debugpy_urls ["Linux" ])
143
143
elif "win32" in target :
You can’t perform that action at this time.
0 commit comments