Commit Graph

16 Commits

Author SHA1 Message Date
Alex Crichton
f6adc3945e ci: Switch official try builds to happen on Azure
This commit switches the `try` builers to officially happen on Azure
Pipelines instead of Travis where they're currently run. This also cuts
back the number of builders to just the two we run on Travis, leaving
expansion as a possible future extension.
2019-06-26 01:54:26 -07:00
Alex Crichton
ebdf42e965 ci: Favor SCRIPT instead of RUST_CHECK_TARGET
Since #61212 we've been timing out on OSX, and this looks to be because
we're building tools like Cargo and the RLS twice instead of once. This
turns out to be a slight bug in our configuration. CI builders using the
`RUST_CHECK_TARGET` directive actually execute `make all` just before
their acual target. In `make all` we're building a stage2 cargo, and
then in `make dist` we're building a stage1 cargo.

Other builders use `SCRIPT` which provides explicit control over what
`x.py` script, for example, is used to execute the build. This moves
almost all targets to using `SCRIPT` to ensure that we're explicitly
specifying what's being built where. Additionally this updates the logic
of `RUST_CHECK_TARGET` to remove the pre-flight tidy as well as the
pre-flight `make all`. The system LLVM builder (run on PRs) now
explicitly runs tidy first and then runs the rest of the test suite.
2019-05-30 07:28:56 -07:00
Pietro Albini
24f262f35e
ci: toggle builders 2019-05-22 18:10:44 +02:00
Alex Crichton
beea4f5e4a Execute everything! 2019-05-21 13:32:53 -07:00
Alex Crichton
0f4b546af3 Go back to fewer builders to test on try 2019-05-21 12:09:44 -07:00
Alex Crichton
7b7e172f6d Place timeouts at the job level 2019-05-21 12:06:47 -07:00
Alex Crichton
e8f0e70b00 Typos 2019-05-21 10:57:16 -07:00
Alex Crichton
55108b379e Run a full build on try temporarily 2019-05-21 10:45:13 -07:00
Pietro Albini
d2304e1e26
ci: increase timeout, take 2 2019-05-21 12:30:10 +02:00
Alex Crichton
4183f3c41b Configure a few more builders on try temporarily
Make sure there's one dist and one test builder for each of the three
main platforms
2019-05-20 12:29:30 -07:00
Alex Crichton
1be9fe6a44 Refactor azure pipelines configuration
This commit is intended to go through and review/refactor the azure
pipelines configuration we have. The major changes are:

* The separate `{windows,macos,linux}.yml` files are now all merged into
  one `run.yml`. This allows a shared "master flow" for all platforms
  with divergence only where necessary.

* Some install steps have been separated as `install-*.yml` scripts,
  where each script internally matches on the appropriate OS and then
  delegates accordingly.

* Some various bits and pieces of cruft have been removed which were
  artifacts of Travis's setup or similar.
2019-05-20 12:24:58 -07:00
Pietro Albini
d27cb827c6
ci: add an image for dist-x86_64-linux try on azure 2019-05-20 09:38:11 +02:00
Pietro Albini
92bf1e6661
ci: update azure variable groups 2019-05-15 19:39:29 +02:00
Pietro Albini
da949780f0
ci: remove trailing whitespaces from azure config 2019-05-13 10:15:16 +02:00
Pietro Albini
c50517ae85
ci: reduce all azure timeouts to 3 hours
As the infra team we decided to have an hard timeout of 3 hours on all
the jobs: while this sometimes causes spurious timeout errors it's a
great limit to prevent CI time to grow even more.
2019-05-10 09:56:46 +02:00
John Erickson
699376ada0
Add Azure Pipelines 2019-05-10 09:46:28 +02:00