Skip to content

Commit 23d728d

Browse files
committed
test
Signed-off-by: Sarnie, Nick <[email protected]>
1 parent d6af353 commit 23d728d

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/sycl-windows-build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ jobs:
7474
outputs:
7575
build_conclusion: ${{ steps.build.conclusion }}
7676
steps:
77+
- uses: actions/checkout@v4
78+
with:
79+
path: src
80+
ref: ${{ inputs.build_ref || github.sha }}
81+
fetch-depth: 1
7782
- uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756
7883
with:
7984
arch: amd64
@@ -88,11 +93,6 @@ jobs:
8893
echo "C:\Program Files\Git\usr\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
8994
echo "CCACHE_DIR=D:\github\_work\cache\${{ inputs.build_cache_suffix }}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
9095
echo "CCACHE_MAXSIZE=10G" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
91-
- uses: actions/checkout@v4
92-
with:
93-
path: src
94-
ref: ${{ inputs.build_ref || github.sha }}
95-
fetch-depth: 1
9696
- name: Register cleanup after job is finished
9797
uses: ./src/devops/actions/cleanup
9898
- name: Configure

.github/workflows/sycl-windows-run-tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ jobs:
4747
environment: WindowsCILock
4848
env: ${{ fromJSON(inputs.env) }}
4949
steps:
50+
# TODO: use cached_checkout
51+
- uses: actions/checkout@v4
52+
with:
53+
persist-credentials: false
54+
ref: ${{ inputs.ref || github.sha }}
55+
path: llvm
5056
- uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756
5157
with:
5258
arch: amd64
@@ -59,12 +65,6 @@ jobs:
5965
git config --system core.longpaths true
6066
git config --global core.autocrlf false
6167
echo "C:\Program Files\Git\usr\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
62-
# TODO: use cached_checkout
63-
- uses: actions/checkout@v4
64-
with:
65-
persist-credentials: false
66-
ref: ${{ inputs.ref || github.sha }}
67-
path: llvm
6868
- name: Register cleanup after job is finished
6969
uses: ./llvm/devops/actions/cleanup
7070
- name: Download compiler toolchain

0 commit comments

Comments
 (0)