Configure Azure Pipelines
This commit is contained in:
parent
ef099c7994
commit
19a2b4fe07
63
.travis.yml
63
.travis.yml
@ -1,63 +0,0 @@
|
||||
dist: trusty
|
||||
language: rust
|
||||
rust: nightly
|
||||
services: docker
|
||||
sudo: required
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- env: TARGET=aarch64-unknown-linux-gnu
|
||||
- env: TARGET=arm-unknown-linux-gnueabi
|
||||
- env: TARGET=arm-unknown-linux-gnueabihf
|
||||
- env: TARGET=armv7-unknown-linux-gnueabihf
|
||||
- env: TARGET=i586-unknown-linux-gnu
|
||||
- env: TARGET=i686-apple-darwin DEBUG_LTO_BUILD_DOESNT_WORK=1
|
||||
os: osx
|
||||
- env: TARGET=i686-unknown-linux-gnu
|
||||
- env: TARGET=mips-unknown-linux-gnu
|
||||
- env: TARGET=mips64-unknown-linux-gnuabi64
|
||||
- env: TARGET=mips64el-unknown-linux-gnuabi64
|
||||
- env: TARGET=mipsel-unknown-linux-gnu
|
||||
- env: TARGET=powerpc-unknown-linux-gnu
|
||||
- env: TARGET=powerpc64-unknown-linux-gnu
|
||||
- env: TARGET=powerpc64le-unknown-linux-gnu
|
||||
- env: TARGET=thumbv6m-linux-eabi
|
||||
- env: TARGET=thumbv7em-linux-eabi
|
||||
- env: TARGET=thumbv7em-linux-eabihf
|
||||
- env: TARGET=thumbv7m-linux-eabi
|
||||
- env: TARGET=wasm32-unknown-unknown
|
||||
install: rustup target add $TARGET
|
||||
script: cargo build --target $TARGET
|
||||
- env: TARGET=x86_64-apple-darwin DEBUG_LTO_BUILD_DOESNT_WORK=1
|
||||
os: osx
|
||||
- env: TARGET=x86_64-unknown-linux-gnu
|
||||
allow_failures:
|
||||
- env: TARGET=thumbv6m-linux-eabi
|
||||
- env: TARGET=thumbv7em-linux-eabi
|
||||
- env: TARGET=thumbv7em-linux-eabihf
|
||||
- env: TARGET=thumbv7m-linux-eabi
|
||||
|
||||
install:
|
||||
- case $TARGET in
|
||||
x86_64-apple-darwin | x86_64-unknown-linux-gnu) ;;
|
||||
thumbv*eabi*) rustup component add rust-src ;;
|
||||
*) rustup target add $TARGET;;
|
||||
esac
|
||||
|
||||
script:
|
||||
# work around rust-lang/cargo#3340
|
||||
- test "$TRAVIS_OS_NAME" = "osx" ||
|
||||
export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
|
||||
- cargo generate-lockfile
|
||||
- if [[ $TRAVIS_OS_NAME = "linux" ]]; then
|
||||
sudo apt-get remove -y qemu-user-static &&
|
||||
sudo apt-get install -y qemu-user-static &&
|
||||
sh ci/run-docker.sh $TARGET;
|
||||
else
|
||||
sh ci/run.sh $TARGET;
|
||||
fi
|
||||
|
||||
notifications:
|
||||
email:
|
||||
on_success: never
|
||||
webhooks: https://buildbot.rust-lang.org/homu/travis
|
@ -1,9 +1,8 @@
|
||||
# `compiler-builtins`
|
||||
|
||||
[![Build status](https://ci.appveyor.com/api/projects/status/eusnjps5ui3d305p?svg=true)](https://ci.appveyor.com/project/rust-lang-libs/compiler-builtins)
|
||||
[![Build Status](https://travis-ci.org/rust-lang-nursery/compiler-builtins.svg?branch=master)](https://travis-ci.org/rust-lang-nursery/compiler-builtins)
|
||||
[![Build Status](https://dev.azure.com/rust-lang/compiler-builtins/_apis/build/status/compiler-builtins-CI?branchName=master)](https://dev.azure.com/rust-lang/compiler-builtins/_build/latest?definitionId=2&branchName=master)
|
||||
|
||||
> [WIP] Porting `compiler-rt` intrinsics to Rust
|
||||
> Porting `compiler-rt` intrinsics to Rust
|
||||
|
||||
See [rust-lang/rust#35437][0].
|
||||
|
||||
|
45
appveyor.yml
45
appveyor.yml
@ -1,45 +0,0 @@
|
||||
environment:
|
||||
# It's... a little unclear why the memcpy symbols clash on linux but not on
|
||||
# other platforms. Would be great to not differ on this though!
|
||||
INTRINSICS_FAILS_WITH_MEM_FEATURE: 1
|
||||
|
||||
matrix:
|
||||
- TARGET: i686-pc-windows-msvc
|
||||
- TARGET: x86_64-pc-windows-msvc
|
||||
|
||||
# Ensure MinGW works, but we need to download the 32-bit MinGW compiler from a
|
||||
# custom location.
|
||||
#
|
||||
# Note that the MinGW builds have tons of references to
|
||||
# `rust_eh_unwind_resume` in the debug LTO builds that aren't optimized out,
|
||||
# so we skip that test for now. Would be great to not skip it!
|
||||
- TARGET: i686-pc-windows-gnu
|
||||
MINGW_URL: https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror
|
||||
MINGW_ARCHIVE: i686-6.3.0-release-win32-dwarf-rt_v5-rev1.7z
|
||||
MINGW_DIR: mingw32
|
||||
DEBUG_LTO_BUILD_DOESNT_WORK: 1
|
||||
- TARGET: x86_64-pc-windows-gnu
|
||||
DEBUG_LTO_BUILD_DOESNT_WORK: 1
|
||||
|
||||
install:
|
||||
- git submodule update --init
|
||||
- appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
|
||||
- rustup-init.exe --default-host x86_64-pc-windows-msvc --default-toolchain nightly -y
|
||||
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
|
||||
- if NOT "%TARGET%" == "x86_64-pc-windows-msvc" rustup target add %TARGET%
|
||||
|
||||
# Use the system msys
|
||||
- set PATH=C:\msys64\mingw64\bin;C:\msys64\usr\bin;%PATH%
|
||||
|
||||
# download a custom compiler otherwise
|
||||
- if defined MINGW_URL appveyor DownloadFile %MINGW_URL%/%MINGW_ARCHIVE%
|
||||
- if defined MINGW_URL 7z x -y %MINGW_ARCHIVE% > nul
|
||||
- if defined MINGW_URL set PATH=C:\Python27;%CD%\%MINGW_DIR%\bin;C:\msys64\usr\bin;%PATH%
|
||||
|
||||
- rustc -Vv
|
||||
- cargo -V
|
||||
|
||||
build: false
|
||||
|
||||
test_script:
|
||||
- sh ci/run.sh %TARGET%
|
@ -1,6 +1,7 @@
|
||||
trigger:
|
||||
- master
|
||||
|
||||
pr:
|
||||
- master
|
||||
jobs:
|
||||
- job: Linux
|
||||
pool:
|
||||
|
@ -3,8 +3,9 @@ parameters:
|
||||
|
||||
steps:
|
||||
- bash: |
|
||||
set -e
|
||||
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $TOOLCHAIN
|
||||
echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
|
||||
echo "##vso[task.prependpath]$HOME/.cargo/bin"
|
||||
displayName: Install rust
|
||||
condition: ne( variables['Agent.OS'], 'Windows_NT' )
|
||||
env:
|
||||
@ -13,7 +14,7 @@ steps:
|
||||
- script: |
|
||||
curl -sSf -o rustup-init.exe https://win.rustup.rs
|
||||
rustup-init.exe -y --default-toolchain %TOOLCHAIN%
|
||||
echo "##vso[task.setvariable variable=PATH;]%PATH%;%USERPROFILE%\.cargo\bin"
|
||||
echo ##vso[task.prependpath]%USERPROFILE%\.cargo\bin
|
||||
displayName: Install rust
|
||||
condition: eq( variables['Agent.OS'], 'Windows_NT' )
|
||||
env:
|
||||
|
@ -1,4 +1,6 @@
|
||||
steps:
|
||||
- checkout: self
|
||||
submodules: true
|
||||
- template: azure-install-rust.yml
|
||||
|
||||
- bash: ./ci/run.sh $TARGET
|
||||
|
Loading…
Reference in New Issue
Block a user