Skip to content

Commit c1715a4

Browse files
committed
Added windows CI
1 parent 74669d2 commit c1715a4

File tree

2 files changed

+63
-1
lines changed

2 files changed

+63
-1
lines changed

.appveyor.yml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
os: Visual Studio 2015
2+
3+
environment:
4+
matrix:
5+
6+
# Stable 64-bit MSVC
7+
- channel: stable
8+
target: x86_64-pc-windows-msvc
9+
# Stable 32-bit MSVC
10+
- channel: stable
11+
target: i686-pc-windows-msvc
12+
# Nightly 64-bit MSVC
13+
- channel: nightly
14+
target: x86_64-pc-windows-msvc
15+
#cargoflags: --features "unstable"
16+
# Nightly 32-bit MSVC
17+
- channel: nightly
18+
target: i686-pc-windows-msvc
19+
#cargoflags: --features "unstable"
20+
21+
# ### GNU Toolchains ###
22+
23+
# # Stable 64-bit GNU
24+
# - channel: stable
25+
# target: x86_64-pc-windows-gnu
26+
# # Stable 32-bit GNU
27+
# - channel: stable
28+
# target: i686-pc-windows-gnu
29+
# # Beta 64-bit GNU
30+
# - channel: beta
31+
# target: x86_64-pc-windows-gnu
32+
# # Beta 32-bit GNU
33+
# - channel: beta
34+
# target: i686-pc-windows-gnu
35+
# # Nightly 64-bit GNU
36+
# - channel: nightly
37+
# target: x86_64-pc-windows-gnu
38+
# #cargoflags: --features "unstable"
39+
# # Nightly 32-bit GNU
40+
# - channel: nightly
41+
# target: i686-pc-windows-gnu
42+
# #cargoflags: --features "unstable"
43+
44+
matrix:
45+
allow_failures:
46+
- channel: nightly
47+
48+
install:
49+
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
50+
- rustup-init -yv --default-toolchain %channel% --default-host %target%
51+
- set PATH=%PATH%;%USERPROFILE%\.cargo\bin
52+
- rustc -vV
53+
- cargo -vV
54+
55+
build: false
56+
57+
test_script:
58+
- git submodule update --init --recursive
59+
- cargo test --verbose --all %cargoflags%
60+
- cargo test --verbose --all --no-default-features %cargoflags%
61+
- cargo test --release --verbose --all %cargoflags%
62+
- cargo test --release --verbose --all --no-default-features %cargoflags%

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Mimalloc Rust
22

3-
[![Build Status](https://travis-ci.org/purpleprotocol/mimalloc_rust.svg?branch=master)](https://travis-ci.org/purpleprotocol/mimalloc_rust) [![Latest Version]][crates.io] [![Documentation]][docs.rs]
3+
[![Build Status](https://travis-ci.org/purpleprotocol/mimalloc_rust.svg?branch=master)](https://travis-ci.org/purpleprotocol/mimalloc_rust) [![AppVeyor](https://ci.appveyor.com/api/projects/status/sv2csbpe6p31y0t5?svg=true)](https://ci.appveyor.com/project/OctavianOncescu/mimalloc_rust) [![Latest Version]][crates.io] [![Documentation]][docs.rs]
44

55
A drop-in global allocator wrapper around the [mimalloc](https://github.com/microsoft/mimalloc) allocator.
66
Mimalloc is a general purpose, performance oriented allocator built by Microsoft.

0 commit comments

Comments
 (0)