Skip to content

Commit b0f92ef

Browse files
committed
Test 20
1 parent 30d2d67 commit b0f92ef

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/rust.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
run: python3 -m pip install -U matplotlib
5050
- name: Setup Miniconda
5151
if: startsWith(matrix.build, 'anaconda macos')
52-
uses: conda-incubator/setup-miniconda@v3.0.3
52+
uses: conda-incubator/setup-miniconda@v3.0.4
5353
- name: Install Matplotlib (Anaconda)
5454
if: startsWith(matrix.build, 'anaconda')
5555
run: $CONDA/bin/conda install conda-forge::matplotlib
@@ -58,6 +58,7 @@ jobs:
5858
rustup update --no-self-update
5959
rustup default ${{ matrix.rust }}
6060
- run: cargo build -v
61+
if: ${{ ! startsWith(matrix.build, 'anaconda') }}
6162
- run: cargo test
6263
if: ${{ ! startsWith(matrix.build, 'anaconda') }}
6364
- run: cargo run --example a_simple_example
@@ -71,8 +72,11 @@ jobs:
7172
- name: Run example with Anaconda on MacOS
7273
continue-on-error: true
7374
if: startsWith(matrix.build, 'anaconda macos')
75+
shell: bash
7476
run: |
7577
eval "$($CONDA/bin/conda shell.bash activate)"
76-
export DYLD_LIBRARY_PATH=$CONDA_PREFIX/lib
78+
export DYLD_LIBRARY_PATH=$CONDA_PREFIX/lib/py
79+
mkdir $CONDA_PREFIX/lib/py
80+
cp $CONDA_PREFIX/lib/libpython* $DYLD_LIBRARY_PATH
7781
cargo run --example a_simple_example
7882
cargo run --example flower

0 commit comments

Comments
 (0)