28
28
run :
29
29
shell : python
30
30
outputs :
31
+ vsix_basename : ${{ steps.vsix_names.outputs.vsix_basename }}
31
32
vsix_name : ${{ steps.vsix_names.outputs.vsix_name }}
32
33
vsix_artifact_name : ${{ steps.vsix_names.outputs.vsix_artifact_name }}
33
34
steps :
@@ -40,23 +41,57 @@ jobs:
40
41
else:
41
42
vsix_type = "release"
42
43
print(f"::set-output name=vsix_name::ms-python-{vsix_type}.vsix")
44
+ print(f"::set-output name=vsix_basename::ms-python-{vsix_type}")
43
45
print(f"::set-output name=vsix_artifact_name::ms-python-{vsix_type}-vsix")
44
46
45
47
build-vsix :
46
48
name : Create VSIX
47
49
if : github.repository == 'microsoft/vscode-python'
48
50
needs : setup
49
- runs-on : ubuntu-latest
51
+ runs-on : ${{ matrix.os }}
52
+ strategy :
53
+ fail-fast : false
54
+ matrix :
55
+ include :
56
+ - os : windows-latest
57
+ target : x86_64-pc-windows-msvc
58
+ vsix-target : win32-x64
59
+ - os : windows-latest
60
+ target : aarch64-pc-windows-msvc
61
+ vsix-target : win32-arm64
62
+ - os : ubuntu-latest
63
+ target : x86_64-unknown-linux-musl
64
+ vsix-target : linux-x64
65
+ # - os: ubuntu-latest
66
+ # target: aarch64-unknown-linux-gnu
67
+ # vsix-target: linux-arm64
68
+ # - os: ubuntu-latest
69
+ # target: arm-unknown-linux-gnueabihf
70
+ # vsix-target: linux-armhf
71
+ - os : macos-latest
72
+ target : x86_64-apple-darwin
73
+ vsix-target : darwin-x64
74
+ - os : macos-14
75
+ target : aarch64-apple-darwin
76
+ vsix-target : darwin-arm64
77
+ - os : ubuntu-latest
78
+ target : x86_64-unknown-linux-musl
79
+ vsix-target : alpine-x64
80
+ # - os: ubuntu-latest
81
+ # target: aarch64-unknown-linux-musl
82
+ # vsix-target: alpine-arm64
50
83
steps :
51
84
- name : Checkout
52
85
uses : actions/checkout@v4
53
86
54
87
- name : Build VSIX
55
88
uses : ./.github/actions/build-vsix
56
89
with :
57
- node_version : ${{ env.NODE_VERSION }}
58
- vsix_name : ${{ needs.setup.outputs.vsix_name }}
59
- artifact_name : ${{ needs.setup.outputs.vsix_artifact_name }}
90
+ node_version : ${{ env.NODE_VERSION}}
91
+ vsix_name : ${{ needs.setup.outputs.vsix_basename }}-${{ matrix.vsix-target }}.vsix'
92
+ artifact_name : ' ${{ needs.setup.outputs.vsix_artifact_name }}-${{ matrix.vsix-target }}'
93
+ cargo_target : ${{ matrix.target }}
94
+ vsix_target : ${{ matrix.vsix-target }}
60
95
61
96
lint :
62
97
name : Lint
0 commit comments