Skip to content

Commit 6b03f63

Browse files
committed
re-generate workflows
1 parent 6879827 commit 6b03f63

File tree

3 files changed

+42
-22
lines changed

3 files changed

+42
-22
lines changed

.github/workflows/build-win32-x64.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,5 +183,24 @@ jobs:
183183
ref: ${{github.event.inputs.helper-git-ref}}
184184
fetch-depth: 3
185185

186+
- name: 'Move workspace to short path for MinGW compatibility'
187+
run: |
188+
echo Creating D:\t short name folder...
189+
mkdir D:\t
190+
191+
echo Moving workspace to D:\t...
192+
robocopy "%GITHUB_WORKSPACE%" "D:\t" /E /MOVE /NFL /NDL /NJH /NJS /NC /NS
193+
194+
if %ERRORLEVEL% LEQ 3 (
195+
echo ✓ Workspace successfully moved to D:\t
196+
dir D:\t
197+
) else (
198+
echo ✗ Failed to move workspace, robocopy exit code: %ERRORLEVEL%
199+
exit /b 1
200+
)
201+
shell: cmd
202+
186203
- name: 'Run ${{github.event.inputs.version}} native test'
204+
working-directory: D:\t
205+
# Run the test from the short path
187206
run: bash build-assets/scripts/test.sh --version ${{github.event.inputs.version}} --base-url pre-release

.github/workflows/test-prime.yml

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -53,19 +53,13 @@ jobs:
5353

5454
win32-x64-test:
5555
name: 'win32-x64 riscv-none-elf-gcc ${{github.event.inputs.version}} test 2025'
56-
runs-on: windows-2022
56+
runs-on: windows-2025
5757
defaults:
5858
run:
5959
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell
6060
shell: bash # for --
6161

6262
steps:
63-
- name: Enable Long Path Support
64-
run: |
65-
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
66-
Write-Host "Long Path Support enabled"
67-
shell: powershell
68-
6963
- name: 'Show environment'
7064
run: |
7165
uname -a
@@ -91,15 +85,12 @@ jobs:
9185

9286
- name: 'Move workspace to short path for MinGW compatibility'
9387
run: |
94-
REM Create short path directory
88+
echo Creating D:\t short name folder...
9589
mkdir D:\t
96-
echo Created D:\t directory
9790
98-
REM Move entire workspace to short path
9991
echo Moving workspace to D:\t...
10092
robocopy "%GITHUB_WORKSPACE%" "D:\t" /E /MOVE /NFL /NDL /NJH /NJS /NC /NS
10193
102-
REM Check if robocopy succeeded (exit codes 0-3 are success for robocopy)
10394
if %ERRORLEVEL% LEQ 3 (
10495
echo ✓ Workspace successfully moved to D:\t
10596
dir D:\t
@@ -111,15 +102,6 @@ jobs:
111102

112103
- name: 'Run ${{github.event.inputs.version}} native test'
113104
working-directory: D:\t
114-
env:
115-
# Use short temp paths
116-
TMP: D:/tmp
117-
TEMP: D:/tmp
118-
TMPDIR: D:/tmp
119-
run: |
120-
# Create temp directory
121-
mkdir -p D:/tmp
122-
# Run the test from the short path
123-
bash build-assets/scripts/test.sh --version ${{github.event.inputs.version}} --base-url ${{github.event.inputs.base_url}} --develop
124-
105+
# Run the test from the short path
106+
run: bash build-assets/scripts/test.sh --version ${{github.event.inputs.version}} --base-url ${{github.event.inputs.base_url}}
125107

.github/workflows/test-xpm.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,26 @@ jobs:
8383
ref: ${{github.event.inputs.helper-git-ref}}
8484
fetch-depth: 3
8585

86+
- name: 'Move workspace to short path for MinGW compatibility'
87+
run: |
88+
echo Creating D:\t short name folder...
89+
mkdir D:\t
90+
91+
echo Moving workspace to D:\t...
92+
robocopy "%GITHUB_WORKSPACE%" "D:\t" /E /MOVE /NFL /NDL /NJH /NJS /NC /NS
93+
94+
if %ERRORLEVEL% LEQ 3 (
95+
echo ✓ Workspace successfully moved to D:\t
96+
dir D:\t
97+
) else (
98+
echo ✗ Failed to move workspace, robocopy exit code: %ERRORLEVEL%
99+
exit /b 1
100+
)
101+
shell: cmd
102+
86103
- name: 'Run ${{github.event.inputs.version}} xpm test'
104+
working-directory: D:\t
105+
# Run the test from the short path
87106
run: bash build-assets/scripts/test.sh --package-version ${{github.event.inputs.package-version}} --version ${{github.event.inputs.version}} --xpm
88107

89108

0 commit comments

Comments
 (0)