diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index f812cce..12c85fa 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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