Skip to content

Commit

Permalink
Test 21
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris00 committed May 3, 2024
1 parent 30d2d67 commit 0e8b75b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
run: python3 -m pip install -U matplotlib
- name: Setup Miniconda
if: startsWith(matrix.build, 'anaconda macos')
uses: conda-incubator/[email protected].3
uses: conda-incubator/[email protected].4
- name: Install Matplotlib (Anaconda)
if: startsWith(matrix.build, 'anaconda')
run: $CONDA/bin/conda install conda-forge::matplotlib
Expand All @@ -58,6 +58,7 @@ jobs:
rustup update --no-self-update
rustup default ${{ matrix.rust }}
- run: cargo build -v
if: ${{ ! startsWith(matrix.build, 'anaconda') }}
- run: cargo test
if: ${{ ! startsWith(matrix.build, 'anaconda') }}
- run: cargo run --example a_simple_example
Expand All @@ -71,8 +72,12 @@ jobs:
- name: Run example with Anaconda on MacOS
continue-on-error: true
if: startsWith(matrix.build, 'anaconda macos')
shell: bash
run: |
eval "$($CONDA/bin/conda shell.bash activate)"
export DYLD_LIBRARY_PATH=$CONDA_PREFIX/lib
export DYLD_LIBRARY_PATH=$CONDA_PREFIX/lib/py
mkdir $CONDA_PREFIX/lib/py
# cp $CONDA_PREFIX/lib/libpython* $DYLD_LIBRARY_PATH
echo $PYO3_PYTHON
cargo run --example a_simple_example
cargo run --example flower

0 comments on commit 0e8b75b

Please sign in to comment.