Skip to content

Commit 8d356be

Browse files
committed
of course MacOS and Linux will do it differently
1 parent c9d3e6b commit 8d356be

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,10 @@ jobs:
219219
run: |
220220
export LD_LIBRARY_PATH=${{github.workspace}}/local/lib:${{github.workspace}}/local/external/lib:${LD_LIBRARY_PATH}
221221
OLDSOPT=`ls ${{github.workspace}}/local/lib/libsopt*`
222-
SOPTBASE=${OLDSOPT%.*}
223-
NEWSOPT=${SOPTBASE%.*}.${OLDSOPT##*.}
222+
NEWSOPT=${OLDSOPT%.*}
223+
if [[ $OLDSOPT == *"dylib"* ]]; then
224+
NEWSOPT=${NEWSOPT%.*}.${OLDSOPT##*.}
225+
fi
224226
ln -s $OLDSOPT $NEWSOPT
225227
ls ${{github.workspace}}/local/lib/
226228
ctest -C ${{env.BUILD_TYPE}} --output-on-failure

0 commit comments

Comments
 (0)