summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2018-02-10 00:00:44 +0100
committerGuillaumeGomez <guillaume1.gomez@gmail.com>2018-06-11 23:23:09 +0200
commit9b4a9e9c05d6ee7b81c18b23e7a32c392bcc817f (patch)
tree82dd8df2d3c5281c3e2c72a665290178d4bb4d3c
parent3e09cd30ebe5fb1820d2521cfccb27baccbf6a9b (diff)
downloadlibrsvg-9b4a9e9c05d6ee7b81c18b23e7a32c392bcc817f.tar.gz
Add windows tests
-rw-r--r--.gitignore1
-rw-r--r--appveyor.yml23
2 files changed, 24 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 17f9ccc1..3dd4cae4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -77,3 +77,4 @@ Rsvg-2.0.typelib
librsvg-2.0.vapi
librsvg-*.tar.xz
librsvg-*.tar.bz2
+rust/target
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 00000000..1a73ed2b
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,23 @@
+environment:
+ matrix:
+ - RUST: stable
+ BITS: 32
+ - RUST: stable
+ BITS: 64
+
+install:
+ - IF "%BITS%" == "32" SET ARCH=i686
+ - IF "%BITS%" == "64" SET ARCH=x86_64
+ - curl -sSf -o rustup-init.exe https://win.rustup.rs
+ - rustup-init.exe --default-host "%ARCH%-pc-windows-gnu" --default-toolchain %RUST% -y
+ - SET PATH=C:\Users\appveyor\.cargo\bin;C:\msys64\mingw%BITS%\bin;%PATH%;C:\msys64\usr\bin
+ - rustc -Vv
+ - cargo -Vv
+ - pacman --noconfirm -S mingw-w64-%ARCH%-gtk3 mingw-w64-%ARCH%-gtk3
+
+build_script:
+ - cd rust
+ - cargo build
+ - cargo test
+
+test: false