-
-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathappveyor.yml
45 lines (37 loc) · 1.16 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
image:
- Visual Studio 2022
version: 3.0.1-{build}
skip_tags: false
clone_folder: C:\rust-embed-resource
environment:
matrix:
- TARGET: x86_64-pc-windows-gnu
MINGW: true
TOOLCHAIN: stable
- TARGET: x86_64-pc-windows-gnu
MINGW: true
TOOLCHAIN: 1.70.0
- TARGET: x86_64-pc-windows-msvc
TOOLCHAIN: stable
- TARGET: x86_64-pc-windows-msvc
TOOLCHAIN: 1.70.0
install:
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
- if defined MINGW set PATH=C:\msys64\mingw64\bin;C:\msys64\usr\bin;%PATH%
- if defined MINGW bash -lc "pacman --noconfirm -Syyu"
- if defined MINGW bash -lc "pacman --noconfirm -Syyu"
- if defined MINGW bash -lc "pacman --noconfirm -S mingw-w64-x86_64-toolchain"
- curl -SL https://win.rustup.rs/ -oC:\rustup-init.exe
- C:\rustup-init.exe -y --default-host="%TARGET%" --default-toolchain="%TOOLCHAIN%"
build: off
build_script:
- cargo build --verbose --release --workspace
test: off
test_script:
- cargo test --verbose --release
- cargo run --verbose --release -- empty-resource.rc
notifications:
- provider: Email
to:
- nabijaczleweli@gmail.com
on_build_status_changed: true