Skip to content

Commit c9adc1c

Browse files
Fix macOs error
1 parent 6965df1 commit c9adc1c

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

build/azure-pipeline.pre-release.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ extends:
3131
buildPlatforms:
3232
- name: Linux
3333
vsceTarget: ''
34-
- name: Linux
35-
packageArch: x64
36-
vsceTarget: linux-alpine
3734
- name: Linux
3835
packageArch: arm64
3936
vsceTarget: linux-arm64
@@ -85,8 +82,8 @@ extends:
8582
displayName: Install nox
8683

8784
# 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
9087
env:
9188
VSCETARGET: ${{ variables.VSCETARGET }}
9289

noxfile.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import nox # pylint: disable=import-error
1414

1515
debugpy_urls = {
16-
"macOS": {
16+
"MacOS": {
1717
"url": "https://files.pythonhosted.org/packages/b1/46/0304622c2c81215298294eba53c038c6d339b783928117687e756ade7def/debugpy-1.8.0-cp310-cp310-macosx_11_0_x86_64.whl",
1818
"hash": "7fb95ca78f7ac43393cd0e0f2b6deda438ec7c5e47fa5d38553340897d2fbdfb"
1919

@@ -135,9 +135,9 @@ def install_bundled_libs(session):
135135
"""Installs the libraries that will be bundled with the extension."""
136136
session.install("wheel")
137137
_install_bundle(session)
138-
target = os.environ.get('VSCETARGET')
139-
print("target: ", target)
140138

139+
target = os.environ.get('VSCETARGET')
140+
print("target:", target)
141141
if "linux" in target:
142142
download_url(f"{os.getcwd()}/bundled/libs", debugpy_urls["Linux"])
143143
elif "win32" in target:

0 commit comments

Comments
 (0)