Skip to content

Commit 3cd0bdc

Browse files
author
Christian Feldmann
committed
Remove hardcoded paths in windows builds. These changed and we should not rely on them.
1 parent eaf3a83 commit 3cd0bdc

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/Build.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,8 @@ jobs:
153153
curl -L https://github.com/ChristianFeldmann/YUViewQt/releases/download/QtBase-6.9.0/qtBase-6-9-0-windows-2022.zip -o Qt.zip
154154
7z x Qt.zip
155155
echo "${{ github.workspace }}\..\..\YUViewQt\YUViewQt\Qt\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
156-
dir
157-
cd Qt
158-
dir
156+
echo "Qmake Version:"
157+
qmake --version
159158
- name: Install libde265
160159
run: |
161160
curl -L https://github.com/ChristianFeldmann/libde265/releases/download/v1.1/libde265.dll -o libde265.dll
@@ -179,20 +178,18 @@ jobs:
179178
echo "Creating Build dir and entering it"
180179
mkdir build
181180
cd build
182-
echo "Qmake Version:"
183-
qmake --version
184181
echo "Executing qmake..."
185182
qmake CONFIG+=UNITTESTS ..
186183
echo "Executing jom:"
187184
jom
188185
- name: Run Unittests
189-
run: D:\a\YUView\YUView\build\YUViewUnitTest\YUViewUnitTest
186+
run: ${{ github.workspace }}\build\YUViewUnitTest\YUViewUnitTest
190187
- name: WindeployQT
191188
run: |
192189
mkdir deploy
193190
cd deploy
194191
cp ../build/YUViewApp/YUView.exe .
195-
d:\a\YUViewQt\YUViewQt\Qt\bin\windeployqt.exe --release --no-compiler-runtime YUView.exe
192+
windeployqt --release --no-compiler-runtime YUView.exe
196193
cp ../openSSL/*.dll .
197194
mkdir decoder
198195
cp ..\libde265.dll decoder

0 commit comments

Comments
 (0)