Skip to content

Commit be19284

Browse files
committed
ci: set PATH to the destination of the dlls, since meson installs them correctly
1 parent 9ac05bb commit be19284

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ jobs:
119119
Remove-Item -Path C:\Strawberry\ -Recurse
120120
choco install pkgconfiglite
121121
echo "PKG_CONFIG_PATH=C:/lib/pkgconfig" | Out-File -FilePath $env:GITHUB_ENV -Append
122+
echo "C:/bin" | Out-File -FilePath $env:GITHUB_PATH -Append
122123
123124
- name: Build and Install OOPetris
124125
run: |
@@ -133,15 +134,6 @@ jobs:
133134
${{ matrix.config.os == 'ubuntu' && 'sudo' || '' }} meson install -C build
134135
${{ matrix.config.os == 'ubuntu' && 'sudo ldconfig' || '' }}
135136
136-
- name: Copy shared libraries to the correct place
137-
if: matrix.config.os == 'windows'
138-
run: |
139-
Copy-Item -Path ".\oopetris\build\src\libs\core\oopetris_core-0.dll" -Destination .
140-
Copy-Item -Path ".\oopetris\build\src\libs\recordings\oopetris_recordings-0.dll" -Destination .
141-
Copy-Item -Path ".\oopetris\build\subprojects\fmt-11.0.2\fmt.dll" -Destination .
142-
Copy-Item -Path ".\oopetris_c_wrapper\build\oopetris_c_wrapper-0.dll" -Destination .
143-
144-
145137
- uses: haskell-actions/setup@v2
146138
with:
147139
ghc-version: '9.6.6'
@@ -153,5 +145,4 @@ jobs:
153145
stack build
154146
stack test
155147
stack run -- test/files/correct.rec
156-
Copy-Item ./ooopetris/build/src/libs/recordings/oopetris_recordings-0.dll -Destination .
157148

0 commit comments

Comments
 (0)