-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathappveyor.yml
66 lines (66 loc) · 1.97 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
image:
- Visual Studio 2022
- Ubuntu2004
- macos-monterey
environment:
APPVEYOR_YML_DISABLE_PS_LINUX: true
matrix:
- TARGET: x86_64-pc-windows-msvc
- TARGET: i686-pc-windows-msvc
- TARGET: x86_64-unknown-linux-gnu
- TARGET: x86_64-apple-darwin
matrix:
exclude:
- image: Ubuntu2004
TARGET: x86_64-pc-windows-msvc
- image: Ubuntu2004
TARGET: i686-pc-windows-msvc
- image: Ubuntu2004
TARGET: x86_64-apple-darwin
- image: macos-monterey
TARGET: x86_64-pc-windows-msvc
- image: macos-monterey
TARGET: i686-pc-windows-msvc
- image: macos-monterey
TARGET: x86_64-unknown-linux-gnu
- image: Visual Studio 2022
TARGET: x86_64-unknown-linux-gnu
- image: Visual Studio 2022
TARGET: x86_64-apple-darwin
skip_tags: true
branches:
only:
- master
for:
-
matrix:
only:
- image: Visual Studio 2022
install:
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
- cmd: rustup-init.exe -yv --default-toolchain nightly --default-host %TARGET% --profile minimal
- cmd: set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
cache:
#- '%USERPROFILE%\.cargo'
-
matrix:
only:
- image: Ubuntu2004
install:
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -yv --default-toolchain nightly --default-host x86_64-unknown-linux-gnu --profile minimal
cache:
#- '/home/appveyor/.cargo'
-
matrix:
only:
- image: macos-monterey
install:
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -yv --default-toolchain nightly --default-host x86_64-apple-darwin --profile minimal
cache:
#- '$HOME/.cargo'
build: false
test_script:
# We run the suite once with all functionality enabled, and then once without
# the default features to make sure `no_std` support has not been broken
- cmd: ./ci/run_windows.bat
- sh: sudo sh ./ci/run_linux_and_mac.sh