Skip to content

Commit

Permalink
Install ScipOpt in Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingTil committed Jan 4, 2024
1 parent 3bed41b commit a0613c7
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,16 @@ jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install scip via anaconda
run: conda install --channel conda-forge scip -y
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: test
allow-softlinks: true
- name: Install dependencies (SCIPOptSuite)
run: |
conda install -y --prefix $CONDA/envs/test --channel conda-forge scip
echo "LD_LIBRARY_PATH=$CONDA/envs/test/lib" >> "${GITHUB_ENV}"
echo "CONDA_PREFIX=$CONDA/envs/test" >> "${GITHUB_ENV}"
- name: Build
run: cargo build --release --all-features --verbose
- name: Test
Expand Down

0 comments on commit a0613c7

Please sign in to comment.