Skip to content

Commit 23a2d83

Browse files
committed
Run on Linux and Windows
1 parent 4f9dbde commit 23a2d83

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/examples_docker.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
fail-fast: false
6161
matrix:
6262
python-version: ${{ fromJSON(needs.setup.outputs.python_versions) }}
63-
os: ["ubuntu-latest"]
63+
os: ["ubuntu-latest", "windows-latest"]
6464

6565
steps:
6666
- uses: actions/checkout@v4
@@ -108,7 +108,12 @@ jobs:
108108
id: set-server-path
109109
shell: bash
110110
run: |
111-
docker pull ghcr.io/ansys-dpf/dpf-standalone:windows-26.1
111+
if [ ${{ matrix.os }} == "ubuntu-latest" ]; then
112+
export platform="linux"
113+
else
114+
export platform="windows"
115+
fi
116+
docker pull ghcr.io/ansys-dpf/dpf-standalone:$platform-26.1
112117
docker container list -a
113118
echo "DPF_DOCKER=dpfv2026.1.pre0" >> $GITHUB_ENV
114119

0 commit comments

Comments
 (0)