fork/livesplit-core

git clone https://git.julia.blue/fork/livesplit-core

Christopher SerrImplement quick-xml LLanfair Gered Parser4f5cb65

v0.8.0
2.0 KiB81 linesraw
1# Based on the "trust" template v0.1.1
2# https://github.com/japaric/trust/tree/v0.1.1
3
4environment:
5  global:
6    RUST_VERSION: stable
7    CRATE_NAME: livesplit-core
8
9  matrix:
10    # MinGW
11    - TARGET: i686-pc-windows-gnu
12    - TARGET: x86_64-pc-windows-gnu
13
14    # MSVC
15    - TARGET: i686-pc-windows-msvc
16    - TARGET: x86_64-pc-windows-msvc
17
18    # Testing other channels
19    - TARGET: x86_64-pc-windows-gnu
20      RUST_VERSION: beta
21    - TARGET: x86_64-pc-windows-msvc
22      RUST_VERSION: beta
23    - TARGET: x86_64-pc-windows-gnu
24      RUST_VERSION: nightly
25    - TARGET: x86_64-pc-windows-msvc
26      RUST_VERSION: nightly
27
28matrix:
29  allow_failures:
30    - RUST_VERSION: nightly
31    - RUST_VERSION: beta
32
33install:
34  - ps: >-
35      choco install curl
36  - curl -sSf -o rustup-init.exe https://win.rustup.rs/
37  - rustup-init.exe -y --default-host %TARGET% --default-toolchain %RUST_VERSION%
38  - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
39  - rustc -Vv
40  - cargo -V
41
42test_script:
43  # we don't run the "test phase" when doing deploys
44  - if [%APPVEYOR_REPO_TAG%]==[false] (
45      cargo build -p livesplit-core-capi --target %TARGET% &&
46      cargo build -p livesplit-core-capi --target %TARGET% --release &&
47      cargo test -p livesplit-core --target %TARGET% &&
48      cargo test -p livesplit-core --target %TARGET% --release
49    )
50
51before_deploy:
52  - cargo rustc -p livesplit-core-capi --target %TARGET% --release
53  - ps: ci\before_deploy.ps1
54
55deploy:
56  artifact: /.*\.zip/
57  auth_token:
58    secure: zZGfrpCR/0TmHcXPwar4hOx6pZeq3C9Wwf/g62pvf135tAwJIVpuZHJjB0sAAd2M
59  description: ''
60  on:
61    RUST_VERSION: stable
62    appveyor_repo_tag: true
63  provider: GitHub
64
65# Don't cache on appveyor, as it seems to blow the disk storage every now and then.
66# cache:
67#   - C:\Users\appveyor\.cargo\registry
68#   - target
69
70# branches:
71#   only:
72#     # Release tags
73#     - /^v\d+\.\d+\.\d+.*$/
74#     - master
75
76notifications:
77  - provider: Email
78    on_build_success: false
79
80# disable automatic builds
81build: false