Skip to content

Commit 202c526

Browse files
authored
Use Azure pipelines for binary builds (#145)
1 parent 4f3ebfc commit 202c526

File tree

4 files changed

+14
-9
lines changed

4 files changed

+14
-9
lines changed

Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ members = ["crates/*"]
33
resolver = "2"
44

55
[profile.release]
6-
strip = true
6+
# Enable all optimizations
7+
opt-level = 3
8+
# Enable full link-time-optimizations
79
lto = true
810
codegen-units = 1
911
# Enable full debug info for optimized builds.

azure-pipelines/playground.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,17 @@ resources:
77
- repository: templates
88
type: github
99
name: microsoft/vscode-engineering
10-
ref: kanadig/rust-binaries1 # TODO: Change this to `main` after `kanadig/rust-binaries1` is merged to `main`.
10+
ref: main
1111
endpoint: Monaco
1212

1313
extends:
14-
template: azure-pipelines/extension/pipeline.yml@templates
14+
template: azure-pipelines/rust-package/pipeline.yml@templates
1515
parameters:
1616
ghCreateTag: false
1717
binaryName: "pet"
1818
signing: false
1919
buildWasm: false
20+
apiScanSoftwareVersion: 2024 # major version of `pet` for internal reporting
2021

2122
buildPlatforms:
2223
- name: Linux

azure-pipelines/pre-release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,17 @@ resources:
1515
- repository: templates
1616
type: github
1717
name: microsoft/vscode-engineering
18-
ref: kanadig/rust-binaries1 # TODO: Change this to `main` after `kanadig/rust-binaries1` is merged to `main`.
18+
ref: main
1919
endpoint: Monaco
2020

2121
extends:
22-
template: azure-pipelines/extension/pipeline.yml@templates
22+
template: azure-pipelines/rust-package/pipeline.yml@templates
2323
parameters:
2424
ghCreateTag: false
2525
binaryName: "pet"
26-
signing: false # TODO: remove this before consuming in extensions (currently extensions build and sign directly)
26+
signing: true
2727
buildWasm: false
28+
apiScanSoftwareVersion: 2024 # major version of `pet` for internal reporting
2829

2930
buildPlatforms:
3031
- name: Linux

azure-pipelines/stable.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,17 @@ resources:
77
- repository: templates
88
type: github
99
name: microsoft/vscode-engineering
10-
ref: kanadig/rust-binaries1 # TODO: Change this to `main` after `kanadig/rust-binaries1` is merged to `main`.
10+
ref: main
1111
endpoint: Monaco
1212

1313
extends:
14-
template: azure-pipelines/extension/pipeline.yml@templates
14+
template: azure-pipelines/rust-package/pipeline.yml@templates
1515
parameters:
1616
ghCreateTag: false
1717
binaryName: "pet"
18-
signing: false # TODO: remove this before consuming in extensions (currently extensions build and sign directly)
18+
signing: true
1919
buildWasm: false
20+
apiScanSoftwareVersion: 2024 # major version of `pet` for internal reporting
2021

2122
buildPlatforms:
2223
- name: Linux

0 commit comments

Comments
 (0)