forked from rust-embedded/svd2rust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
49 lines (41 loc) · 933 Bytes
/
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
46
47
48
49
environment:
global:
CRATE_NAME: svd2rust
RUST_VERSION: nightly
matrix:
- TARGET: i686-pc-windows-gnu
- TARGET: i686-pc-windows-msvc
- TARGET: x86_64-pc-windows-gnu
- TARGET: x86_64-pc-windows-msvc
install:
- ps: ci\install.ps1
build: false
test_script:
- if [%APPVEYOR_REPO_TAG%]==[false] (
cargo build --target %TARGET%
) else (
cargo rustc --target %TARGET% --release --bin svd2rust -- -C lto
)
before_deploy:
- ps: ci\package.ps1
deploy:
description: 'Windows release'
artifact: /.*\.zip/
auth_token:
secure: bQ29dEXeNG5VP2hQcWiZ1xsfmkGosteCDNeYu/cXTX4lOeghOp0qANpQXmGfal29
provider: GitHub
on:
RUST_VERSION: nightly
appveyor_repo_tag: true
cache:
- C:\Users\appveyor\.cargo\registry
- target
branches:
only:
# Release tags
- /^v\d+\.\d+\.\d+.*$/
- auto
- try
notifications:
- provider: Email
on_build_success: false