Skip to content

Commit d650bf7

Browse files
committed
Added Windows before scripts.
1 parent d0eae08 commit d650bf7

1 file changed

Lines changed: 21 additions & 5 deletions

File tree

β€Ž.github/workflows/UnitTesting.ymlβ€Ž

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,23 @@ on:
6969
required: false
7070
default: ''
7171
type: string
72+
windows_before_script:
73+
description: 'Scripts to execute before pytest on Windows (x64-64).'
74+
required: false
75+
default: ''
76+
type: string
77+
windows_arm_before_script:
78+
description: 'Scripts to execute before pytest on Windows (aarch64).'
79+
required: false
80+
default: ''
81+
type: string
7282
mingw64_before_script:
73-
description: 'Scripts to execute before pytest on Windows within MSYS2 MinGW64.'
83+
description: 'Scripts to execute before pytest on Windows (x64-64) within MSYS2 MinGW64.'
7484
required: false
7585
default: ''
7686
type: string
7787
ucrt64_before_script:
78-
description: 'Scripts to execute before pytest on Windows within MSYS2 UCRT64.'
88+
description: 'Scripts to execute before pytest on Windows (x64-64) within MSYS2 UCRT64.'
7989
required: false
8090
default: ''
8191
type: string
@@ -380,13 +390,19 @@ jobs:
380390
if: ( matrix.system == 'ubuntu' || matrix.system == 'ubuntu-arm' ) && inputs.ubuntu_before_script != ''
381391
run: ${{ inputs.ubuntu_before_script }}
382392

383-
# TODO: Windows before script
393+
- name: πŸͺŸ Windows (x86-64) before scripts
394+
if: matrix.system == 'windows' && inputs.windows_before_script != ''
395+
run: ${{ inputs.windows_before_script }}
396+
397+
- name: 🏒 Windows (aarch64) before scripts
398+
if: matrix.system == 'windows-arm' && inputs.windows_arm_before_script != ''
399+
run: ${{ inputs.windows_arm_before_script }}
384400

385-
- name: πŸͺŸπŸŸ¦ MinGW64 before scripts
401+
- name: πŸͺŸπŸŸ¦ Windows (x86-64) + MinGW64 before scripts
386402
if: matrix.system == 'msys2' && matrix.runtime == 'MINGW64' && inputs.mingw64_before_script != ''
387403
run: ${{ inputs.mingw64_before_script }}
388404

389-
- name: πŸͺŸπŸŸ¨ UCRT64 before scripts
405+
- name: πŸͺŸπŸŸ¨ Windows (x86-64) + UCRT64 before scripts
390406
if: matrix.system == 'msys2' && matrix.runtime == 'UCRT64' && inputs.ucrt64_before_script != ''
391407
run: ${{ inputs.ucrt64_before_script }}
392408

0 commit comments

Comments
Β (0)