Skip to content

Commit bc14cad

Browse files
Copilotwysaid
andcommitted
Fix Windows workflow test path structure for new build directories
Co-authored-by: wysaid <1430725+wysaid@users.noreply.github.com>
1 parent e44efd6 commit bc14cad

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/windows-build.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,11 +138,18 @@ jobs:
138138
shell: bash
139139
run: |
140140
# Create symbolic links to make test script work with new build directory structure
141-
mkdir -p build
141+
mkdir -p build/tests
142+
143+
# Create symbolic link for the config directory
142144
if [ ! -L "build/${{ matrix.config }}" ]; then
143145
ln -sf "${{ matrix.config }}-${{ matrix.library_type }}" "build/${{ matrix.config }}"
144146
fi
145147
148+
# Create symbolic link for the tests directory to match expected path structure
149+
if [ ! -L "build/tests/${{ matrix.config }}" ]; then
150+
ln -sf "../${{ matrix.config }}-${{ matrix.library_type }}/tests/${{ matrix.config }}" "build/tests/${{ matrix.config }}"
151+
fi
152+
146153
cd scripts
147154
if [ "${{ matrix.config }}" == "Debug" ]; then
148155
# Set library path for shared library tests

0 commit comments

Comments
 (0)