A Rust library for reading the OpenStreetMap PBF file format (*.osm.pbf).

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # Based on:
  2. # https://github.com/starkat99/appveyor-rust
  3. # https://github.com/alexcrichton/flate2-rs/blob/master/appveyor.yml
  4. os: Visual Studio 2015
  5. environment:
  6. matrix:
  7. - channel: nightly
  8. target: x86_64-pc-windows-msvc
  9. cargoflags: --no-default-features
  10. - channel: nightly
  11. target: x86_64-pc-windows-gnu
  12. cargoflags: --no-default-features
  13. - channel: nightly
  14. target: i686-pc-windows-gnu
  15. cargoflags: --no-default-features
  16. - channel: stable
  17. target: x86_64-pc-windows-msvc
  18. cargoflags: --no-default-features
  19. - channel: stable
  20. target: i686-pc-windows-msvc
  21. cargoflags: --no-default-features
  22. - channel: 1.27.2
  23. target: x86_64-pc-windows-msvc
  24. install:
  25. - ps: >-
  26. If ($Env:TARGET -eq 'x86_64-pc-windows-gnu') {
  27. $Env:PATH += ';C:\msys64\mingw64\bin'
  28. } ElseIf ($Env:TARGET -eq 'i686-pc-windows-gnu') {
  29. $Env:PATH += ';C:\MinGW\bin'
  30. }
  31. - appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
  32. - rustup-init -yv --default-toolchain %channel% --default-host %target%
  33. - set PATH=%PATH%;%USERPROFILE%\.cargo\bin
  34. - rustc -vV
  35. - cargo -vV
  36. build: false
  37. test_script:
  38. - cargo test --verbose
  39. - cargo test --verbose %cargoflags%