Skip to content

Commit 03d0968

Browse files
committed
Test 22
1 parent 30d2d67 commit 03d0968

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/rust.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@ 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
5656
- name: Install Rust (rustup)
5757
run: |
5858
rustup update --no-self-update
5959
rustup default ${{ matrix.rust }}
60-
- run: cargo build -v
60+
- run: PYO3_PRINT_CONFIG=1 cargo build
6161
- run: cargo test
6262
if: ${{ ! startsWith(matrix.build, 'anaconda') }}
6363
- run: cargo run --example a_simple_example
@@ -71,8 +71,11 @@ jobs:
7171
- name: Run example with Anaconda on MacOS
7272
continue-on-error: true
7373
if: startsWith(matrix.build, 'anaconda macos')
74+
shell: bash
7475
run: |
7576
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
7780
cargo run --example a_simple_example
7881
cargo run --example flower

0 commit comments

Comments
 (0)