File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 49
49
run : python3 -m pip install -U matplotlib
50
50
- name : Setup Miniconda
51
51
if : startsWith(matrix.build, 'anaconda macos')
52
- uses : conda-incubator/setup-miniconda@v3.0.3
52
+ uses : conda-incubator/setup-miniconda@v3.0.4
53
53
- name : Install Matplotlib (Anaconda)
54
54
if : startsWith(matrix.build, 'anaconda')
55
55
run : $CONDA/bin/conda install conda-forge::matplotlib
58
58
rustup update --no-self-update
59
59
rustup default ${{ matrix.rust }}
60
60
- run : cargo build -v
61
+ if : ${{ ! startsWith(matrix.build, 'anaconda') }}
61
62
- run : cargo test
62
63
if : ${{ ! startsWith(matrix.build, 'anaconda') }}
63
64
- run : cargo run --example a_simple_example
71
72
- name : Run example with Anaconda on MacOS
72
73
continue-on-error : true
73
74
if : startsWith(matrix.build, 'anaconda macos')
75
+ shell : bash
74
76
run : |
75
77
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
77
81
cargo run --example a_simple_example
78
82
cargo run --example flower
You can’t perform that action at this time.
0 commit comments