Commit a3457de
authored
fix official pipeline (#52)
* Add Azure-Vld-Official release pipeline
- Add version.txt (2.5.12) as single source of truth for version
- Add build/official.yml pipeline for creating versioned releases
- Pipeline accepts newVersion parameter (defaults to patch increment)
- Builds all architectures (x64, x86, ARM64)
- Creates Inno Setup installer
- On success: commits version, tags with v{version}, pushes to master
Usage: Manually trigger pipeline, optionally specify version
* Validate version tag doesn't already exist
* Single source of truth: version.txt drives all version info
- CMakeLists.txt reads version.txt and generates setup/version.h
- vld-setup.iss reads version.txt directly via Inno Setup preprocessor
- setup/version.h is now generated (added to .gitignore)
- setup/version.h.in is the template for CMake
- Pipeline only needs to update version.txt
This eliminates the need to update multiple files when changing version.
* Install Inno Setup 6.7.0 in provisioning script
- Install Inno Setup silently for all users (/ALLUSERS)
- Install to Program Files (x86)\Inno Setup 6
- Expects innosetup-6.7.0.exe in same directory as Setup.ps1
- Runs before ARM64 agent patching
- Idempotent: skips if already installed
* Extract build-arch.yml template for single architecture builds
Address PR feedback from dcristo - share build steps across architectures.
Template handles: vcvars setup, CMake configure, MSBuild, publish artifacts.
* Update devops.yml to also use build-arch.yml template
- Add runTests parameter (true for CI, false for official)
- Add artifactSuffix parameter for config-specific artifact names
- Both pipelines now share the same build steps
* Fix YAML syntax: use block scalar for PowerShell with pipe
* Fix artifact staging: create directories before copying
* Install Inno Setup in Package stage if not present
* Run Inno Setup on ARM64 pool (already has it installed via Setup.ps1)1 parent 3c96e97 commit a3457de
1 file changed
Lines changed: 12 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| |||
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
95 | | - | |
| 96 | + | |
| 97 | + | |
96 | 98 | | |
97 | 99 | | |
98 | 100 | | |
| |||
111 | 113 | | |
112 | 114 | | |
113 | 115 | | |
114 | | - | |
| 116 | + | |
| 117 | + | |
115 | 118 | | |
116 | 119 | | |
117 | 120 | | |
| |||
128 | 131 | | |
129 | 132 | | |
130 | 133 | | |
131 | | - | |
| 134 | + | |
132 | 135 | | |
133 | 136 | | |
134 | 137 | | |
| |||
143 | 146 | | |
144 | 147 | | |
145 | 148 | | |
146 | | - | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
147 | 154 | | |
148 | 155 | | |
149 | 156 | | |
| |||
0 commit comments