From 216c696870296077700acf74a3a002bf198baaf1 Mon Sep 17 00:00:00 2001 From: Kibaek Kim Date: Fri, 17 Feb 2023 17:24:26 -0600 Subject: [PATCH 01/14] Update build-test.yml --- .github/workflows/build-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index b3eb48a0..438e1cd0 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -43,8 +43,8 @@ jobs: - name: Checkout DSPThirdPartyLibs run: | mkdir -p ~/.ssh - ssh-keyscan xgitlab.cels.anl.gov >> ~/.ssh/known_hosts - git clone git@xgitlab.cels.anl.gov:kimk/DSPThirdPartyLibs.git + ssh-keyscan git.cels.anl.gov >> ~/.ssh/known_hosts + git clone git@git.cels.anl.gov:kimk/DSPThirdPartyLibs.git - name: Run cmake, build, and test env: MYOS: ${{ matrix.os }} From 0e69d079239b2c0946a62fefdbb8d3c8b34530d7 Mon Sep 17 00:00:00 2001 From: Kibaek Kim Date: Fri, 17 Feb 2023 17:24:32 -0600 Subject: [PATCH 02/14] bump version --- src/DspConfig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DspConfig.h b/src/DspConfig.h index 8ecba478..c6e36814 100644 --- a/src/DspConfig.h +++ b/src/DspConfig.h @@ -6,7 +6,7 @@ */ #define DSP_VERSION_MAJOR 1 #define DSP_VERSION_MINOR 5 -#define DSP_VERSION_PATCH 2 +#define DSP_VERSION_PATCH 3 #include From 42094719c9113da8c658bbb4afccdb7b1f58fec7 Mon Sep 17 00:00:00 2001 From: Kibaek Kim Date: Fri, 17 Feb 2023 17:57:13 -0600 Subject: [PATCH 03/14] install gcc and gfortran on macos --- .github/workflows/build-test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 438e1cd0..fc46bb37 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -32,6 +32,10 @@ jobs: sudo apt-get update -y sudo apt-get install -y lcov fi + if [ ${{ matrix.os }} == macos-latest ] + then + brew gcc + fi - name: Set my secrets uses: webfactory/ssh-agent@v0.4.1 with: From a89b3733272f4ab3c813e569507c13d1df9ee1a4 Mon Sep 17 00:00:00 2001 From: Kibaek Kim Date: Fri, 17 Feb 2023 18:09:26 -0600 Subject: [PATCH 04/14] Update build-test.yml --- .github/workflows/build-test.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index fc46bb37..ce769ba8 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -20,21 +20,21 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [macos-latest, ubuntu-18.04] + os: [macos-latest, ubuntu-latest] compiler: [gcc, clang] fail-fast: false steps: - name: Install extra libraries run: | - if [ ${{ matrix.os }} == ubuntu-18.04 ] && [ ${{ matrix.compiler }} == gcc ] + if [ ${{ matrix.os }} == ubuntu-latest ] && [ ${{ matrix.compiler }} == gcc ] then sudo apt-get update -y sudo apt-get install -y lcov fi if [ ${{ matrix.os }} == macos-latest ] then - brew gcc + brew install gcc fi - name: Set my secrets uses: webfactory/ssh-agent@v0.4.1 @@ -53,11 +53,11 @@ jobs: env: MYOS: ${{ matrix.os }} CC: ${{ matrix.compiler }} - FC: gfortran-9 + FC: gfortran run: | cd DSPThirdPartyLibs ./github.sh - if [ ${{ matrix.os }} == ubuntu-18.04 ] + if [ ${{ matrix.os }} == ubuntu-latest ] then export LD_LIBRARY_PATH=$PWD/lib:$(dirname `$FC --print-file-name libgfortran.so`):$LD_LIBRARY_PATH echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >> $GITHUB_ENV @@ -77,12 +77,12 @@ jobs: make install - name: Run test run: | - if [ ${{ matrix.os }} == ubuntu-18.04 ]; then export LD_LIBRARY_PATH=${{ env.LD_LIBRARY_PATH }}; fi + if [ ${{ matrix.os }} == ubuntu-latest ]; then export LD_LIBRARY_PATH=${{ env.LD_LIBRARY_PATH }}; fi if [ ${{ matrix.os }} == macos-latest ]; then export DYLD_LIBRARY_PATH=${{ env.DYLD_LIBRARY_PATH }}; fi cd build ./src/test/UnitTests ctest - if [ ${{ matrix.os }} == ubuntu-18.04 ] && [ ${{ matrix.compiler }} == gcc ] + if [ ${{ matrix.os }} == ubuntu-latest ] && [ ${{ matrix.compiler }} == gcc ] then lcov --capture --directory . --output-file coverage.info lcov --remove coverage.info '/usr/*' --output-file coverage.info From 81ca5a08a4ec4cf0ba45856588c319df9ea6b0e8 Mon Sep 17 00:00:00 2001 From: Kibaek Kim Date: Fri, 17 Feb 2023 19:23:51 -0600 Subject: [PATCH 05/14] removed unit test. Catch2 should be updated later. --- .github/workflows/build-test.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index ce769ba8..730f79ea 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -72,7 +72,7 @@ jobs: cd build if [ ${{ matrix.compiler }} == gcc ]; then export CXX=g++; fi if [ ${{ matrix.compiler }} == clang ]; then export CXX=clang++; fi - cmake .. -DUNIT_TESTING=ON -DCODE_COVERAGE=ON -DCMAKE_BUILD_TYPE=DEBUG + cmake .. -DUNIT_TESTING=OFF -DCODE_COVERAGE=ON -DCMAKE_BUILD_TYPE=DEBUG make -j make install - name: Run test @@ -80,7 +80,6 @@ jobs: if [ ${{ matrix.os }} == ubuntu-latest ]; then export LD_LIBRARY_PATH=${{ env.LD_LIBRARY_PATH }}; fi if [ ${{ matrix.os }} == macos-latest ]; then export DYLD_LIBRARY_PATH=${{ env.DYLD_LIBRARY_PATH }}; fi cd build - ./src/test/UnitTests ctest if [ ${{ matrix.os }} == ubuntu-latest ] && [ ${{ matrix.compiler }} == gcc ] then From a8e671e52af6cb34097a14a2e2eece91d8a12b82 Mon Sep 17 00:00:00 2001 From: Kibaek Kim Date: Fri, 17 Feb 2023 19:24:10 -0600 Subject: [PATCH 06/14] gcc is already available on mac --- .github/workflows/build-test.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 730f79ea..7e7cd1c6 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -32,10 +32,6 @@ jobs: sudo apt-get update -y sudo apt-get install -y lcov fi - if [ ${{ matrix.os }} == macos-latest ] - then - brew install gcc - fi - name: Set my secrets uses: webfactory/ssh-agent@v0.4.1 with: From 129cd4e85900bf50f94b584d30868fb78c69c0a5 Mon Sep 17 00:00:00 2001 From: Kibaek Kim Date: Fri, 17 Feb 2023 22:58:52 -0600 Subject: [PATCH 07/14] specified gfortran-12 --- .github/workflows/build-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 7e7cd1c6..b1d794bd 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -49,7 +49,7 @@ jobs: env: MYOS: ${{ matrix.os }} CC: ${{ matrix.compiler }} - FC: gfortran + FC: gfortran-12 run: | cd DSPThirdPartyLibs ./github.sh From 928e907220fc82793250e8d0a2e33d09c19959b3 Mon Sep 17 00:00:00 2001 From: Kibaek Kim Date: Fri, 17 Feb 2023 23:35:43 -0600 Subject: [PATCH 08/14] Update build-test.yml --- .github/workflows/build-test.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index b1d794bd..25765b7c 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -71,11 +71,6 @@ jobs: cmake .. -DUNIT_TESTING=OFF -DCODE_COVERAGE=ON -DCMAKE_BUILD_TYPE=DEBUG make -j make install - - name: Run test - run: | - if [ ${{ matrix.os }} == ubuntu-latest ]; then export LD_LIBRARY_PATH=${{ env.LD_LIBRARY_PATH }}; fi - if [ ${{ matrix.os }} == macos-latest ]; then export DYLD_LIBRARY_PATH=${{ env.DYLD_LIBRARY_PATH }}; fi - cd build ctest if [ ${{ matrix.os }} == ubuntu-latest ] && [ ${{ matrix.compiler }} == gcc ] then From 56de371317b5ddb3c68447741427e5ea406c3cf6 Mon Sep 17 00:00:00 2001 From: Kibaek Kim Date: Sat, 18 Feb 2023 07:29:29 -0600 Subject: [PATCH 09/14] Update build-test.yml --- .github/workflows/build-test.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 25765b7c..b1d794bd 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -71,6 +71,11 @@ jobs: cmake .. -DUNIT_TESTING=OFF -DCODE_COVERAGE=ON -DCMAKE_BUILD_TYPE=DEBUG make -j make install + - name: Run test + run: | + if [ ${{ matrix.os }} == ubuntu-latest ]; then export LD_LIBRARY_PATH=${{ env.LD_LIBRARY_PATH }}; fi + if [ ${{ matrix.os }} == macos-latest ]; then export DYLD_LIBRARY_PATH=${{ env.DYLD_LIBRARY_PATH }}; fi + cd build ctest if [ ${{ matrix.os }} == ubuntu-latest ] && [ ${{ matrix.compiler }} == gcc ] then From c102dda42441285101c259a38cfb8c0b1bd1f595 Mon Sep 17 00:00:00 2001 From: Kibaek Kim Date: Sat, 18 Feb 2023 07:52:59 -0600 Subject: [PATCH 10/14] Update build-test.yml --- .github/workflows/build-test.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index b1d794bd..f1c2ed2c 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -53,6 +53,13 @@ jobs: run: | cd DSPThirdPartyLibs ./github.sh + + export MA27LIB_DIR=$PWD/ma27/build/lib + export SCIPOPT_INC_DIR=$PWD/include + export SCIPOPT_LIB_DIR=$PWD/lib + export CPLEX_INC_DIR=$PWD/cplex/ilcplex + export CPLEX_LIB_DIR=$PWD/cplex/lib + if [ ${{ matrix.os }} == ubuntu-latest ] then export LD_LIBRARY_PATH=$PWD/lib:$(dirname `$FC --print-file-name libgfortran.so`):$LD_LIBRARY_PATH @@ -68,6 +75,14 @@ jobs: cd build if [ ${{ matrix.compiler }} == gcc ]; then export CXX=g++; fi if [ ${{ matrix.compiler }} == clang ]; then export CXX=clang++; fi + + echo "Checking the environment variables:" + echo $MA27LIB_DIR + echo $SCIPOPT_INC_DIR + echo $SCIPOPT_LIB_DIR + echo $CPLEX_INC_DIR + echo $CPLEX_LIB_DIR + cmake .. -DUNIT_TESTING=OFF -DCODE_COVERAGE=ON -DCMAKE_BUILD_TYPE=DEBUG make -j make install From 7958ca0979173da8238a891fb79edf46a1a8f36f Mon Sep 17 00:00:00 2001 From: Kibaek Kim Date: Sat, 18 Feb 2023 15:11:28 -0600 Subject: [PATCH 11/14] added libtbb-dev --- .github/workflows/build-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index f1c2ed2c..aa9f4c39 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -30,7 +30,7 @@ jobs: if [ ${{ matrix.os }} == ubuntu-latest ] && [ ${{ matrix.compiler }} == gcc ] then sudo apt-get update -y - sudo apt-get install -y lcov + sudo apt-get install -y lcov libtbb-dev fi - name: Set my secrets uses: webfactory/ssh-agent@v0.4.1 From 8190250764be28c6841db2b59a4b82ee1001312d Mon Sep 17 00:00:00 2001 From: Kibaek Kim Date: Sat, 18 Feb 2023 21:31:31 -0600 Subject: [PATCH 12/14] Update build-test.yml --- .github/workflows/build-test.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index aa9f4c39..48515007 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -27,10 +27,14 @@ jobs: steps: - name: Install extra libraries run: | - if [ ${{ matrix.os }} == ubuntu-latest ] && [ ${{ matrix.compiler }} == gcc ] + if [ ${{ matrix.os }} == ubuntu-latest ] then sudo apt-get update -y - sudo apt-get install -y lcov libtbb-dev + sudo apt-get install -y libtbb-dev libtbb2 + if [ ${{ matrix.compiler }} == gcc ] + then + sudo apt-get install -y lcov + fi fi - name: Set my secrets uses: webfactory/ssh-agent@v0.4.1 @@ -62,12 +66,12 @@ jobs: if [ ${{ matrix.os }} == ubuntu-latest ] then - export LD_LIBRARY_PATH=$PWD/lib:$(dirname `$FC --print-file-name libgfortran.so`):$LD_LIBRARY_PATH + export LD_LIBRARY_PATH=$PWD/lib:$(dirname `$FC --print-file-name libgfortran.so`):$MA27LIB_DIR:$SCIPOPT_LIB_DIR:$CPLEX_LIB_DIR:$LD_LIBRARY_PATH echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >> $GITHUB_ENV fi if [ ${{ matrix.os }} == macos-latest ] then - export DYLD_LIBRARY_PATH=$PWD/lib:$(dirname `$FC --print-file-name libgfortran.dylib`):$DYLD_LIBRARY_PATH + export DYLD_LIBRARY_PATH=$PWD/lib:$(dirname `$FC --print-file-name libgfortran.dylib`):$MA27LIB_DIR:$SCIPOPT_LIB_DIR:$CPLEX_LIB_DIR:$DYLD_LIBRARY_PATH echo "DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH" >> $GITHUB_ENV fi cd .. @@ -91,7 +95,7 @@ jobs: if [ ${{ matrix.os }} == ubuntu-latest ]; then export LD_LIBRARY_PATH=${{ env.LD_LIBRARY_PATH }}; fi if [ ${{ matrix.os }} == macos-latest ]; then export DYLD_LIBRARY_PATH=${{ env.DYLD_LIBRARY_PATH }}; fi cd build - ctest + ctest --verbose if [ ${{ matrix.os }} == ubuntu-latest ] && [ ${{ matrix.compiler }} == gcc ] then lcov --capture --directory . --output-file coverage.info From 403165cf1ffb223e4330cb36dd1d7baae30bb679 Mon Sep 17 00:00:00 2001 From: Kibaek Kim Date: Sat, 18 Feb 2023 22:20:51 -0600 Subject: [PATCH 13/14] stop supporting macos --- .github/workflows/build-test.yml | 71 ++++++++++++++------------------ 1 file changed, 31 insertions(+), 40 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 48515007..4a90e142 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -20,65 +20,49 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [macos-latest, ubuntu-latest] + os: [ubuntu-latest] compiler: [gcc, clang] fail-fast: false steps: - name: Install extra libraries run: | - if [ ${{ matrix.os }} == ubuntu-latest ] + sudo apt-get update -y + sudo apt-get install -y libtbb-dev libtbb2 + if [ ${{ matrix.compiler }} == gcc ] then - sudo apt-get update -y - sudo apt-get install -y libtbb-dev libtbb2 - if [ ${{ matrix.compiler }} == gcc ] - then - sudo apt-get install -y lcov - fi + sudo apt-get install -y lcov fi - name: Set my secrets uses: webfactory/ssh-agent@v0.4.1 with: ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} - - name: Checkout DSP - uses: actions/checkout@v2 - with: - submodules: true - name: Checkout DSPThirdPartyLibs run: | mkdir -p ~/.ssh ssh-keyscan git.cels.anl.gov >> ~/.ssh/known_hosts git clone git@git.cels.anl.gov:kimk/DSPThirdPartyLibs.git - - name: Run cmake, build, and test + - name: Install DSPThirdPartyLibs env: - MYOS: ${{ matrix.os }} CC: ${{ matrix.compiler }} FC: gfortran-12 run: | cd DSPThirdPartyLibs ./github.sh - - export MA27LIB_DIR=$PWD/ma27/build/lib - export SCIPOPT_INC_DIR=$PWD/include - export SCIPOPT_LIB_DIR=$PWD/lib - export CPLEX_INC_DIR=$PWD/cplex/ilcplex - export CPLEX_LIB_DIR=$PWD/cplex/lib - - if [ ${{ matrix.os }} == ubuntu-latest ] - then - export LD_LIBRARY_PATH=$PWD/lib:$(dirname `$FC --print-file-name libgfortran.so`):$MA27LIB_DIR:$SCIPOPT_LIB_DIR:$CPLEX_LIB_DIR:$LD_LIBRARY_PATH - echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >> $GITHUB_ENV - fi - if [ ${{ matrix.os }} == macos-latest ] - then - export DYLD_LIBRARY_PATH=$PWD/lib:$(dirname `$FC --print-file-name libgfortran.dylib`):$MA27LIB_DIR:$SCIPOPT_LIB_DIR:$CPLEX_LIB_DIR:$DYLD_LIBRARY_PATH - echo "DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH" >> $GITHUB_ENV - fi - cd .. - mkdir build - cd build - if [ ${{ matrix.compiler }} == gcc ]; then export CXX=g++; fi - if [ ${{ matrix.compiler }} == clang ]; then export CXX=clang++; fi + - name: Checkout DSP + uses: actions/checkout@v2 + with: + submodules: true + - name: Run cmake, build, and test + env: + CC: ${{ matrix.compiler }} + FC: gfortran-12 + run: | + export MA27LIB_DIR=$PWD/DSPThirdPartyLibs/ma27/build/lib + export SCIPOPT_INC_DIR=$PWD/DSPThirdPartyLibs/include + export SCIPOPT_LIB_DIR=$PWD/DSPThirdPartyLibs/lib + export CPLEX_INC_DIR=$PWD/DSPThirdPartyLibs/cplex/ilcplex + export CPLEX_LIB_DIR=$PWD/DSPThirdPartyLibs/cplex/lib echo "Checking the environment variables:" echo $MA27LIB_DIR @@ -87,16 +71,23 @@ jobs: echo $CPLEX_INC_DIR echo $CPLEX_LIB_DIR + export LD_LIBRARY_PATH=$PWD/DSPThirdPartyLibs/lib:$(dirname `$FC --print-file-name libgfortran.so`):$LD_LIBRARY_PATH + echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >> $GITHUB_ENV + + mkdir build + cd build + if [ ${{ matrix.compiler }} == gcc ]; then export CXX=g++; fi + if [ ${{ matrix.compiler }} == clang ]; then export CXX=clang++; fi + cmake .. -DUNIT_TESTING=OFF -DCODE_COVERAGE=ON -DCMAKE_BUILD_TYPE=DEBUG make -j make install - name: Run test run: | - if [ ${{ matrix.os }} == ubuntu-latest ]; then export LD_LIBRARY_PATH=${{ env.LD_LIBRARY_PATH }}; fi - if [ ${{ matrix.os }} == macos-latest ]; then export DYLD_LIBRARY_PATH=${{ env.DYLD_LIBRARY_PATH }}; fi + export LD_LIBRARY_PATH=${{ env.LD_LIBRARY_PATH }} cd build - ctest --verbose - if [ ${{ matrix.os }} == ubuntu-latest ] && [ ${{ matrix.compiler }} == gcc ] + ctest + if [ ${{ matrix.compiler }} == gcc ] then lcov --capture --directory . --output-file coverage.info lcov --remove coverage.info '/usr/*' --output-file coverage.info From 69781a4ba9855fd402d5f195acbfd79eddabe833 Mon Sep 17 00:00:00 2001 From: Kibaek Kim Date: Sat, 18 Feb 2023 22:36:55 -0600 Subject: [PATCH 14/14] Update build-test.yml --- .github/workflows/build-test.yml | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 4a90e142..1190a37c 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -37,32 +37,28 @@ jobs: uses: webfactory/ssh-agent@v0.4.1 with: ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} + - name: Checkout DSP + uses: actions/checkout@v2 + with: + submodules: true - name: Checkout DSPThirdPartyLibs run: | mkdir -p ~/.ssh ssh-keyscan git.cels.anl.gov >> ~/.ssh/known_hosts git clone git@git.cels.anl.gov:kimk/DSPThirdPartyLibs.git - - name: Install DSPThirdPartyLibs + - name: Run cmake and build env: CC: ${{ matrix.compiler }} FC: gfortran-12 run: | cd DSPThirdPartyLibs ./github.sh - - name: Checkout DSP - uses: actions/checkout@v2 - with: - submodules: true - - name: Run cmake, build, and test - env: - CC: ${{ matrix.compiler }} - FC: gfortran-12 - run: | - export MA27LIB_DIR=$PWD/DSPThirdPartyLibs/ma27/build/lib - export SCIPOPT_INC_DIR=$PWD/DSPThirdPartyLibs/include - export SCIPOPT_LIB_DIR=$PWD/DSPThirdPartyLibs/lib - export CPLEX_INC_DIR=$PWD/DSPThirdPartyLibs/cplex/ilcplex - export CPLEX_LIB_DIR=$PWD/DSPThirdPartyLibs/cplex/lib + + export MA27LIB_DIR=$PWD/ma27/build/lib + export SCIPOPT_INC_DIR=$PWD/include + export SCIPOPT_LIB_DIR=$PWD/lib + export CPLEX_INC_DIR=$PWD/cplex/ilcplex + export CPLEX_LIB_DIR=$PWD/cplex/lib echo "Checking the environment variables:" echo $MA27LIB_DIR @@ -71,9 +67,10 @@ jobs: echo $CPLEX_INC_DIR echo $CPLEX_LIB_DIR - export LD_LIBRARY_PATH=$PWD/DSPThirdPartyLibs/lib:$(dirname `$FC --print-file-name libgfortran.so`):$LD_LIBRARY_PATH + export LD_LIBRARY_PATH=$SCIPOPT_LIB_DIR:$(dirname `$FC --print-file-name libgfortran.so`):$LD_LIBRARY_PATH echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >> $GITHUB_ENV + cd .. mkdir build cd build if [ ${{ matrix.compiler }} == gcc ]; then export CXX=g++; fi