File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -49,15 +49,15 @@ jobs:
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
56
56
- name : Install Rust (rustup)
57
57
run : |
58
58
rustup update --no-self-update
59
59
rustup default ${{ matrix.rust }}
60
- - run : cargo build -v
60
+ - run : PYO3_PRINT_CONFIG=1 cargo build
61
61
- run : cargo test
62
62
if : ${{ ! startsWith(matrix.build, 'anaconda') }}
63
63
- run : cargo run --example a_simple_example
71
71
- name : Run example with Anaconda on MacOS
72
72
continue-on-error : true
73
73
if : startsWith(matrix.build, 'anaconda macos')
74
+ shell : bash
74
75
run : |
75
76
eval "$($CONDA/bin/conda shell.bash activate)"
76
- export DYLD_LIBRARY_PATH=$CONDA_PREFIX/lib
77
+ export DYLD_LIBRARY_PATH=$CONDA_PREFIX/lib/py
78
+ mkdir $CONDA_PREFIX/lib/py
79
+ ln -s $CONDA_PREFIX/lib/libpython* $DYLD_LIBRARY_PATH
77
80
cargo run --example a_simple_example
78
81
cargo run --example flower
You can’t perform that action at this time.
0 commit comments