Run beta/nightly test on ubuntu, not macos (#506)

This commit switches the beta/nightly tests to happen on Ubuntu instead
of macOS. Turns out GitHub Actions has scheduling limitations on macOS
that limit repositories to 5 concurrent jobs per repository, so let's
reduce the load a bit by running more builds on Linux than mac.
This commit is contained in:
Alex Crichton
2019-11-07 15:51:09 -06:00
committed by Dan Gohman
parent 6aabdaa038
commit f579dac34f

View File

@@ -65,19 +65,19 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
build: [stable, beta, nightly, windows, linux] build: [stable, beta, nightly, windows, macos]
include: include:
- build: stable - build: stable
os: macos-latest os: ubuntu-latest
rust: stable rust: stable
- build: beta - build: beta
os: macos-latest os: ubuntu-latest
rust: beta rust: beta
- build: nightly - build: nightly
os: macos-latest
rust: nightly
- build: linux
os: ubuntu-latest os: ubuntu-latest
rust: nightly
- build: macos
os: macos-latest
rust: stable rust: stable
- build: windows - build: windows
os: windows-latest os: windows-latest