mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
ci: copy resources
to C:\ drive on GH hosted runners (#37627)
This logic was removed in #37311. However, based on the recent failures identified in #37626, it seems like GH hosted runners sometimes do use the `D:` drive for checkouts. It is unclear if this is always the case or not, so this patch adds the logic back but with a conditional check on the workspace path. Testing: This patch has been tested on a fork. Fixes: #37626 Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
This commit is contained in:
parent
cd30b78f78
commit
5fdd8ee277
1 changed files with 4 additions and 0 deletions
4
.github/workflows/windows.yml
vendored
4
.github/workflows/windows.yml
vendored
|
@ -167,6 +167,10 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
.\mach build --use-crown --locked --${{ inputs.profile }} ${{ inputs.build-args }}
|
.\mach build --use-crown --locked --${{ inputs.profile }} ${{ inputs.build-args }}
|
||||||
cp C:\a\servo\servo\target\cargo-timings C:\a\servo\servo\target\cargo-timings-windows -Recurse
|
cp C:\a\servo\servo\target\cargo-timings C:\a\servo\servo\target\cargo-timings-windows -Recurse
|
||||||
|
- name: Copy resources
|
||||||
|
# GitHub-hosted runners sometimes check out the repo on D: drive.
|
||||||
|
if: ${{ runner.environment != 'self-hosted' && startsWith(github.workspace, 'D:\') }}
|
||||||
|
run: cp D:\a\servo\servo\resources C:\a\servo\servo -Recurse
|
||||||
- name: Smoketest
|
- name: Smoketest
|
||||||
run: .\mach smoketest --${{ inputs.profile }}
|
run: .\mach smoketest --${{ inputs.profile }}
|
||||||
- name: Unit tests
|
- name: Unit tests
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue