Skip to content

Commit 12f830b

Browse files
Try fixing docker install
Signed-off-by: Yury-Fridlyand <[email protected]>
1 parent 213bb88 commit 12f830b

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/json_matrices/os-matrix.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
"RUNNER": "windows-11-arm",
5656
"ARCH": "arm64",
5757
"TARGET": "aarch64-pc-windows-msvc",
58-
"tags": ["ci", "cd"]
58+
"tags": ["cd"],
59+
"comment": "Testing requires WSL or a SH runner. See https://github.com/actions/partner-runner-images/issues/109"
5960
}
6061
]

.github/workflows/tests.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,15 @@ jobs:
106106
# os: ${{ matrix.host.OS }}
107107

108108
- name: Set up Docker
109+
if: ${{ matrix.host.OS != 'windows' }}
109110
uses: docker/setup-docker-action@v4
110111

112+
- name: Setup Docker on Windows
113+
if: ${{ matrix.host.OS == 'windows' }}
114+
shell: pwsh
115+
run: |
116+
Enable-WindowsOptionalFeature -Online -FeatureName containers -All
117+
choco install docker-desktop -y --params="'/LinuxContainers'"
111118
112119
- name: Test dotnet ${{ matrix.dotnet }}
113120
run: dotnet test --configuration Debug --framework net${{ matrix.dotnet }} --logger "html;LogFileName=TestReport.html" --logger "console;verbosity=detailed" --results-directory .

0 commit comments

Comments
 (0)