Skip to content

Commit

Permalink
Add a Github Action for Anaconda
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris00 committed Feb 28, 2024
1 parent c132c5d commit 15a34a4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 15a34a4

Please sign in to comment.