Skip to content

Commit e4a2030

Browse files
committed
Enable appveyor debugging
1 parent f757846 commit e4a2030

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

appveyor.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,25 +20,25 @@ environment:
2020
RUST_TARGET: "x86_64-pc-windows-msvc"
2121

2222
install:
23-
- ".build.cmd %PYTHON%\\python -m pip install -U pip setuptools wheel"
23+
- "%PYTHON%\\python -m pip install -U pip setuptools wheel"
2424
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:RUST_TARGET}.exe"
2525
- rust-nightly-%RUST_TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"
2626
- SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin
2727
- SET PATH=%PATH%;C:\MinGW\bin
28-
- rustc -V
29-
- cargo -V
3028

3129
build_script:
32-
- cd c:\projects\python-rust-fst
30+
- ".build.cmd %PYTHON%\\python -m pip install cffi pytest"
31+
# We build the shared library outside of setuptools since we run into problems
32+
# with the %PATH% set by .build.cmd...
33+
- "cargo build --manifest-path fstwrapper/Cargo.toml --release"
3334
- ".build.cmd %PYTHON%\\python -m pip -v wheel . -w .\\wheelhouse"
3435
- dir wheelhouse
3536

3637
test_script:
3738
- SET PROJPATH=C:\Projects\python-rust-fst
3839
- cd c:\projects
39-
- "%PROJPATH%\\.build.cmd %PYTHON%\\python -m pip install cffi pytest"
40-
- "%PROJPATH%\\.build.cmd %PYTHON%\\python -m pip -v install rust_fst --no-index -f %PROJPATH%\\wheelhouse"
41-
- "%PROJPATH%\\.build.cmd %PYTHON%\\python -m pytest --verbose %PROJPATH%\\tests"
40+
- "%PYTHON%\\python -m pip -v install rust_fst --no-index -f %PROJPATH%\\wheelhouse"
41+
- "%PYTHON%\\python -m pytest --verbose %PROJPATH%\\tests"
4242

4343
artifacts:
4444
- path: wheelhouse\rust_fst*.whl

0 commit comments

Comments
 (0)