From 15a34a4531d22afc4c6bade79cd78bc70d68f8a2 Mon Sep 17 00:00:00 2001 From: Christophe Troestler Date: Wed, 28 Feb 2024 23:25:12 +0100 Subject: [PATCH] Add a Github Action for Anaconda --- .github/workflows/rust.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 38d0554..1f5bb63 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -26,6 +26,10 @@ jobs: os: ubuntu-latest rust: stable target: i686-unknown-linux-gnu + - build: Anaconda on Linux + os: ubuntu-latest + rust: stable + target: i686-unknown-linux-gnu - build: macos os: macos-latest rust: stable @@ -54,7 +58,11 @@ jobs: with: python-version: '3.12' - name: Install Matplotlib (pip) + if: ${{ ! startsWith(matrix.build, 'Anaconda') }} run: pip install matplotlib + - name: Install Matplotlib (Anaconda) + if: startsWith(matrix.build, 'Anaconda') + run: $CONDA/bin/conda install matplotlib - name: Install Rust (rustup) run: rustup update ${{ matrix.rust }} --no-self-update && rustup default ${{ matrix.rust }} shell: bash