From 1b73241bb113f55793618274052032143cb94e3e Mon Sep 17 00:00:00 2001 From: Mohammed Ghannam Date: Thu, 17 Oct 2024 10:35:23 +0000 Subject: [PATCH] Replace conda with bundled feature in CI --- .github/workflows/build_and_test.yml | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 51ba9f0..361f566 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -41,21 +41,11 @@ 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 @@ -63,7 +53,7 @@ jobs: - 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: