forked from getsentry/sentry-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
52 lines (43 loc) · 1.5 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
46
47
48
49
50
51
52
skip_tags: true
cache:
- 'target'
- '%USERPROFILE%\.cargo'
branches:
only:
- master
- /^release\/[\d.]+$/
environment:
fast_finish: true
DIST_DIR: '.'
SENTRY_ORG: sentry-cli-travis-test
SENTRY_AUTH_TOKEN:
secure: zaFfRQ1O+0S3XenFbx7l/uK8UF086zd6joeipVI/YAX3Z83QIvt0rcA41uBir6AMcp5lceAxCZlUJSicaPcaZpcZ4l7bvej8OVfj441kBz4=
ZEUS_HOOK_BASE:
secure: dcqtt6sxxBV0tDkXmPZOyzCsC3uBhPnCcEBNuYrB6+qYmkTo7ACaD6zs1L1exo73NNdgusog+eC40PBo1XQ02qyHDBE4XBFapCzhhpxMe5WtiQn7OOJMY37iic9jtPKCd4CGvJo4f3G/B20ZxmqZ3WTS1TuV4cipKnWXee0mkIk=
matrix:
- channel: stable
arch: i686
- channel: stable
arch: x86_64
install:
# Push job information to Zeus
- npm install -g @zeus-ci/cli
- zeus job update --status=pending -B "%APPVEYOR_PULL_REQUEST_TITLE%" -J "%APPVEYOR_JOB_NAME%"
# Install the rest
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
- rustup-init -yv --default-toolchain %channel% --default-host %arch%-pc-windows-msvc
- set PATH=%PATH%;%USERPROFILE%\.cargo\bin
- rustc -vV
- cargo -vV
build: false
test_script:
- set RUSTFLAGS=-Ctarget-feature=+crt-static
- cargo build --release --locked
- cargo run --release -- releases list
on_success:
- zeus upload -t "application/octet-stream" -n sentry-cli-Windows-%arch%.exe .\target\release\sentry-cli.exe || [[ ! "$APPVEYOR_REPO_BRANCH" =~ ^release/ ]]
- zeus job update --status=passed
on_failure:
- zeus job update --status=failed
artifacts:
- path: '.\target\release\sentry-cli.exe'