Skip to content

Commit

Permalink
Merge pull request #14 from scipopt/mt/add_tny
Browse files Browse the repository at this point in the history
Moves to many linux 2 28 and adds tinycthread to all builds
  • Loading branch information
mmghannam authored Sep 26, 2024
2 parents d296e2d + 5b9aeb6 commit bf1b9df
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build_binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,17 @@ on:
type: string
description: SCIP version to use
required: true
default: "9.1.0"
default: "9.1.1"
soplex_version:
type: string
description: Soplex version to use
required: true
default: "7.0.0"
default: "7.1.1"
ipopt_version:
type: string
description: IPOPT version to use
required: true
default: "3.14.12"
default: "3.14.16"

jobs:
print-inputs:
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:

linux-build-binaries:
runs-on: ubuntu-latest
container: quay.io/pypa/manylinux2014_x86_64
container: quay.io/pypa/manylinux_2_28_x86_64
steps:
- uses: actions/checkout@v3
- name: Build and install SCIP
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scripts/linux.bash
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ unzip v$SCIP_VERSION.zip
cd scip-$SCIP_VERSION
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/scip_install -DCMAKE_BUILD_TYPE=Release -DLPS=spx -DSYM=snauty -DSOPLEX_DIR=$GITHUB_WORKSPACE/scip_install -DPAPILO=false -DZIMPL=false -DGMP=false -DREADLINE=false -DIPOPT=true -DIPOPT_DIR=$GITHUB_WORKSPACE/scip_install
cmake .. -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/scip_install -DCMAKE_BUILD_TYPE=Release -DLPS=spx -DSYM=snauty -DSOPLEX_DIR=$GITHUB_WORKSPACE/scip_install -DPAPILO=false -DZIMPL=false -DGMP=false -DREADLINE=false -DIPOPT=true -DIPOPT_DIR=$GITHUB_WORKSPACE/scip_install -DTPI=tny
make -j$(nproc)
make test
make install
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/scripts/macos.bash
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ unzip v$SCIP_VERSION.zip
cd scip-$SCIP_VERSION
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/scip_install -DCMAKE_BUILD_TYPE=Release -DLPS=spx -DSYM=snauty -DSOPLEX_DIR=../../scip_install -DPAPILO=false -DZIMPL=false -DGMP=false -DREADLINE=false -DIPOPT=true -DIPOPT_DIR=../../scip_install -DBOOST=true
cmake .. -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/scip_install -DCMAKE_BUILD_TYPE=Release -DLPS=spx -DSYM=snauty -DSOPLEX_DIR=../../scip_install -DPAPILO=false -DZIMPL=false -DGMP=false -DREADLINE=false -DIPOPT=true -DIPOPT_DIR=../../scip_install -DBOOST=true -DTPI=tny
make -j
make test
make install
Expand All @@ -94,4 +94,4 @@ make test
make install

cd ../..
zip -r $GITHUB_WORKSPACE/libscip-macos.zip scip_install/lib scip_install/include scip_install/bin
zip -r $GITHUB_WORKSPACE/libscip-macos.zip scip_install/lib scip_install/include scip_install/bin
4 changes: 2 additions & 2 deletions .github/workflows/scripts/macos_arm.bash
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ unzip v$SCIP_VERSION.zip
cd scip-$SCIP_VERSION
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/scip_install -DCMAKE_BUILD_TYPE=Release -DLPS=spx -DSYM=snauty -DSOPLEX_DIR=../../scip_install -DPAPILO=false -DZIMPL=false -DGMP=false -DREADLINE=false -DIPOPT=true -DIPOPT_DIR=../../scip_install -DBOOST=true
cmake .. -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/scip_install -DCMAKE_BUILD_TYPE=Release -DLPS=spx -DSYM=snauty -DSOPLEX_DIR=../../scip_install -DPAPILO=false -DZIMPL=false -DGMP=false -DREADLINE=false -DIPOPT=true -DIPOPT_DIR=../../scip_install -DBOOST=true -DTPI=tny
make -j
make test
make install
Expand All @@ -87,4 +87,4 @@ make test
make install

cd $GITHUB_WORKSPACE
zip -r $GITHUB_WORKSPACE/libscip-macos-arm.zip scip_install/lib scip_install/include scip_install/bin
zip -r $GITHUB_WORKSPACE/libscip-macos-arm.zip scip_install/lib scip_install/include scip_install/bin
2 changes: 1 addition & 1 deletion .github/workflows/scripts/windows.bash
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ cmake --install gcg_build
ctest

cd $GITHUB_WORKSPACE
zip -r $GITHUB_WORKSPACE/libscip-windows.zip scip_install/lib scip_install/include scip_install/bin
zip -r $GITHUB_WORKSPACE/libscip-windows.zip scip_install/lib scip_install/include scip_install/bin

0 comments on commit bf1b9df

Please sign in to comment.