Skip to content

Commit dce5d85

Browse files
committed
Make IPOPT library loadable
1 parent 02222f3 commit dce5d85

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/actions/setup_optimizers_linux/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ runs:
120120
mkdir -p ~/ipopt
121121
tar xfz ~/installers/idaes-solvers.tar.gz -C ~/ipopt
122122
echo "PATH=${PATH}:${HOME}/ipopt" >> $GITHUB_ENV
123+
echo "LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${HOME}/ipopt" >> $GITHUB_ENV
123124
ls ~/ipopt
124125
- name: Test IPOPT
125126
shell: bash

.github/actions/setup_optimizers_macos/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ runs:
163163
mkdir -p ~/ipopt
164164
tar xfz ~/installers/idaes-solvers.tar.gz -C ~/ipopt
165165
echo "PATH=${PATH}:${HOME}/ipopt" >> $GITHUB_ENV
166+
echo "DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:${HOME}/ipopt" >> $GITHUB_ENV
166167
ls ~/ipopt
167168
- name: Test IPOPT
168169
shell: bash

0 commit comments

Comments
 (0)