Skip to content

Commit

Permalink
update build
Browse files Browse the repository at this point in the history
  • Loading branch information
jurgen-lentz committed Dec 8, 2024
1 parent deb688f commit 3695c1f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/build-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ on: [push]
jobs:
Build-Package-Linux:
runs-on: ubuntu-20.04
env:
SCIPOPTDIR: ${{ github.workspace }}/scip_install
LD_LIBRARY_PATH: ${{ github.workspace }}/scip_install/lib:${{ env.LD_LIBRARY_PATH }}
DYLD_LIBRARY_PATH: ${{ github.workspace }}/scip_install/lib:${{ env.DYLD_LIBRARY_PATH }}
PATH: ${{ github.workspace }}/scip_install/bin:${{ env.PATH }}
PKG_CONFIG_PATH: ${{ github.workspace }}/scip_install/lib/pkgconfig:${{ env.PKG_CONFIG_PATH }}
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
Expand Down Expand Up @@ -32,11 +38,6 @@ jobs:

- name: Prepare python environment
run: |
export SCIPOPTDIR="$(pwd)/scip_install"
export LD_LIBRARY_PATH="$(pwd)/scip_install/lib:$LD_LIBRARY_PATH"
export DYLD_LIBRARY_PATH="$(pwd)/scip_install/lib:$DYLD_LIBRARY_PATH"
export PATH="$(pwd)/scip_install/bin:$PATH"
export PKG_CONFIG_PATH="$(pwd)/scip_install/lib/pkgconfig:$PKG_CONFIG_PATH"
python -m pip install --upgrade pip
python -m pip install cython pytest
python -m pip install pyscipopt==5.2.1 --no-binary=:all:
Expand Down

0 comments on commit 3695c1f

Please sign in to comment.