Skip to content

Commit 9ac05bb

Browse files
committed
ci: windows, copy shared libraries to the correct place
1 parent 6642536 commit 9ac05bb

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,15 @@ jobs:
133133
${{ matrix.config.os == 'ubuntu' && 'sudo' || '' }} meson install -C build
134134
${{ matrix.config.os == 'ubuntu' && 'sudo ldconfig' || '' }}
135135
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+
136145
- uses: haskell-actions/setup@v2
137146
with:
138147
ghc-version: '9.6.6'
@@ -144,3 +153,5 @@ jobs:
144153
stack build
145154
stack test
146155
stack run -- test/files/correct.rec
156+
Copy-Item ./ooopetris/build/src/libs/recordings/oopetris_recordings-0.dll -Destination .
157+

0 commit comments

Comments
 (0)