|
| 1 | +image: |
| 2 | + - Visual Studio 2022 |
| 3 | + - Ubuntu2004 |
| 4 | + - macOS |
| 5 | +environment: |
| 6 | + APPVEYOR_YML_DISABLE_PS_LINUX: true |
| 7 | + matrix: |
| 8 | + - TARGET: x86_64-pc-windows-msvc |
| 9 | + - TARGET: i686-pc-windows-msvc |
| 10 | + - TARGET: x86_64-unknown-linux-gnu |
| 11 | + - TARGET: x86_64-apple-darwin |
| 12 | +matrix: |
| 13 | + exclude: |
| 14 | + - image: Ubuntu2004 |
| 15 | + TARGET: x86_64-pc-windows-msvc |
| 16 | + - image: Ubuntu2004 |
| 17 | + TARGET: i686-pc-windows-msvc |
| 18 | + - image: Ubuntu2004 |
| 19 | + TARGET: x86_64-apple-darwin |
| 20 | + - image: macOS |
| 21 | + TARGET: x86_64-pc-windows-msvc |
| 22 | + - image: macOS |
| 23 | + TARGET: i686-pc-windows-msvc |
| 24 | + - image: macOS |
| 25 | + TARGET: x86_64-unknown-linux-gnu |
| 26 | + - image: Visual Studio 2022 |
| 27 | + TARGET: x86_64-unknown-linux-gnu |
| 28 | + - image: Visual Studio 2022 |
| 29 | + TARGET: x86_64-apple-darwin |
| 30 | +skip_tags: true |
| 31 | +branches: |
| 32 | + only: |
| 33 | + - master |
| 34 | +for: |
| 35 | + - |
| 36 | + matrix: |
| 37 | + only: |
| 38 | + - image: Visual Studio 2022 |
| 39 | + install: |
| 40 | + - appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe |
| 41 | + - cmd: rustup-init.exe -yv --default-toolchain nightly --default-host %TARGET% --profile minimal |
| 42 | + - cmd: set PATH=%PATH%;C:\Users\appveyor\.cargo\bin |
| 43 | + cache: |
| 44 | + #- '%USERPROFILE%\.cargo' |
| 45 | + - |
| 46 | + matrix: |
| 47 | + only: |
| 48 | + - image: Ubuntu2004 |
| 49 | + install: |
| 50 | + - 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 |
| 51 | + cache: |
| 52 | + #- '/home/appveyor/.cargo' |
| 53 | + - |
| 54 | + matrix: |
| 55 | + only: |
| 56 | + - image: macOS |
| 57 | + install: |
| 58 | + - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -yv --default-toolchain nightly --default-host x86_64-apple-darwin --profile minimal |
| 59 | + cache: |
| 60 | + #- '$HOME/.cargo' |
| 61 | +build: false |
| 62 | +test_script: |
| 63 | + # We run the suite once with all functionality enabled, and then once without |
| 64 | + # the default features to make sure `no_std` support has not been broken |
| 65 | + - cmd: ./ci/run_windows.bat |
| 66 | + - sh: sudo sh ./ci/run_linux_and_mac.sh |
0 commit comments