Skip to content

Commit

Permalink
Replace conda with bundled feature in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mmghannam committed Oct 17, 2024
1 parent ffef835 commit 1b73241
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,29 +41,19 @@ jobs:
with:
fail_ci_if_error: false

linux-conda-test:
linux-bundled-test:
runs-on: ubuntu-latest
steps:
- 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}"
- uses: actions/checkout@v4

- name: Build
run: |
cargo build
- name: Test
run: |
rustup toolchain install nightly
RUSTFLAGS=-Zsanitizer=leak cargo +nightly test
RUSTFLAGS=-Zsanitizer=leak cargo +nightly test --features bundled
# TODO: make this work with a manual run of the action
# publish-crate:
Expand Down

0 comments on commit 1b73241

Please sign in to comment.