Skip to content

Commit 6642536

Browse files
committed
ci: add ldconfig to the correct place, and also enable it only in ubuntu
1 parent 375ca6d commit 6642536

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ jobs:
131131
cd oopetris_c_wrapper
132132
meson setup -Dtests=false -Dexample=false build -Dbuildtype=release -Ddefault_library=shared
133133
${{ matrix.config.os == 'ubuntu' && 'sudo' || '' }} meson install -C build
134+
${{ matrix.config.os == 'ubuntu' && 'sudo ldconfig' || '' }}
134135
135136
- uses: haskell-actions/setup@v2
136137
with:
@@ -141,6 +142,5 @@ jobs:
141142
- name: Build and Test Wrapper
142143
run: |
143144
stack build
144-
${{ matrix.config.os != 'windows' && 'sudo ldconfig' || '' }}
145145
stack test
146146
stack run -- test/files/correct.rec

0 commit comments

Comments
 (0)