@@ -49,15 +49,17 @@ 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/[email protected] .3
52
+ uses :
conda-incubator/[email protected] .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
+ if : ${{ ! startsWith(matrix.build, 'anaconda') }}
60
61
- run : cargo build -v
62
+ if : ${{ ! startsWith(matrix.build, 'anaconda') }}
61
63
- run : cargo test
62
64
if : ${{ ! startsWith(matrix.build, 'anaconda') }}
63
65
- run : cargo run --example a_simple_example
71
73
- name : Run example with Anaconda on MacOS
72
74
continue-on-error : true
73
75
if : startsWith(matrix.build, 'anaconda macos')
76
+ shell : bash
74
77
run : |
75
78
eval "$($CONDA/bin/conda shell.bash activate)"
76
79
export DYLD_LIBRARY_PATH=$CONDA_PREFIX/lib
80
+ echo "** Install Rust"
81
+ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o install_rust
82
+ chmod +x install_rust
83
+ ./install_rust -y
84
+ echo "** rustup update"
85
+ rustup update --no-self-update
86
+ rustup default ${{ matrix.rust }}
77
87
cargo run --example a_simple_example
78
88
cargo run --example flower
0 commit comments