Skip to content

Commit 68787f8

Browse files
committed
Fix missing WinARM64EC + embed json data before tests in release workflow
1 parent 5278279 commit 68787f8

5 files changed

Lines changed: 9 additions & 17 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ jobs:
3737
pwsh -Command "Install-Module Pester -MinimumVersion 5.7.0 -Force -Scope CurrentUser"
3838
pwsh -Command "Install-Module PSScriptAnalyzer -Force -Scope CurrentUser"
3939
40+
- name: Embed dataset into script
41+
shell: pwsh
42+
run: |
43+
pwsh tools/update-delphi-compiler-versions-json.ps1
44+
4045
- name: Run tests
4146
shell: pwsh
4247
env:
@@ -72,11 +77,6 @@ jobs:
7277
7378
printf '\n---\n\n# Change Log\n\n%s\n' "${CHANGELOG_SECTION}" >> release-notes.md
7479
75-
- name: Embed dataset into script
76-
shell: pwsh
77-
run: |
78-
pwsh tools/update-delphi-compiler-versions-json.ps1
79-
8080
- name: Create GitHub release
8181
env:
8282
GH_TOKEN: ${{ github.token }}

README.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -153,19 +153,10 @@ Error:
153153

154154
## Dataset
155155

156-
The implementations consumes the canonical dataset from
156+
The implementation consumes the canonical dataset from
157157
[delphi-compiler-versions](https://github.com/continuous-delphi/delphi-compiler-versions).
158158
The JSON dataset is the single source of truth.
159159

160-
_todo_
161-
162-
The `gen/` folder produces a standalone `pwsh` script with the dataset embedded as a
163-
PowerShell `here-string`.
164-
165-
Artifacts support the same three-tier dataset resolution priority. A newer
166-
`delphi-compiler-versions.json` file found will take precedence over
167-
the embedded data without regenerating or recompiling.
168-
169160
------------------------------------------------------------------------
170161

171162
![continuous-delphi logo](https://continuous-delphi.github.io/assets/logos/continuous-delphi-480x270.png)

docs/commands.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,7 @@ Valid values:
345345

346346
- `Win32`
347347
- `Win64`
348+
- `WinARM64EC`
348349
- `macOS32`
349350
- `macOS64`
350351
- `macOSARM64`

source/delphi-inspect.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ param(
9898

9999
[Parameter(ParameterSetName='ListInstalled', Mandatory=$true)]
100100
[Parameter(ParameterSetName='DetectLatest')]
101-
[ValidateSet('Win32', 'Win64', 'macOS32', 'macOS64', 'macOSARM64', 'Linux64', 'iOS32', 'iOSSimulator32', 'iOS64', 'iOSSimulator64', 'Android32', 'Android64')]
101+
[ValidateSet('Win32', 'Win64', 'WinARM64EC ', 'macOS32', 'macOS64', 'macOSARM64', 'Linux64', 'iOS32', 'iOSSimulator32', 'iOS64', 'iOSSimulator64', 'Android32', 'Android64')]
102102
[string]$Platform = 'Win32',
103103

104104
[Parameter(ParameterSetName='ListInstalled', Mandatory=$true)]

0 commit comments

Comments
 (0)