Run Windows, Linux, and Mac CI tests with nightly and stable channels

This commit is contained in:
Yacin Tmimi 2021-11-24 03:35:01 -05:00 committed by Caleb Cartwright
parent ea042b90c9
commit 67fd9ec300
3 changed files with 12 additions and 3 deletions

View File

@ -8,7 +8,9 @@ on:
jobs:
test:
runs-on: ubuntu-latest
name: (${{ matrix.target }}, nightly)
name: (${{ matrix.target }}, ${{ matrix.cfg_release_channel }})
env:
CFG_RELEASE_CHANNEL: ${{ matrix.cfg_release_channel }}
strategy:
# https://help.github.com/en/actions/getting-started-with-github-actions/about-github-actions#usage-limits
# There's a limit of 60 concurrent jobs across all repos in the rust-lang organization.
@ -20,6 +22,7 @@ jobs:
target: [
x86_64-unknown-linux-gnu,
]
cfg_release_channel: [nightly, stable]
steps:
- name: checkout

View File

@ -10,13 +10,16 @@ jobs:
# https://help.github.com/en/actions/automating-your-workflow-with-github-actions/virtual-environments-for-github-hosted-runners#supported-runners-and-hardware-resources
# macOS Catalina 10.15
runs-on: macos-latest
name: (${{ matrix.target }}, nightly)
name: (${{ matrix.target }}, ${{ matrix.cfg_release_channel }})
env:
CFG_RELEASE_CHANNEL: ${{ matrix.cfg_release_channel }}
strategy:
fail-fast: false
matrix:
target: [
x86_64-apple-darwin,
]
cfg_release_channel: [nightly, stable]
steps:
- name: checkout

View File

@ -8,7 +8,9 @@ on:
jobs:
test:
runs-on: windows-latest
name: (${{ matrix.target }}, nightly)
name: (${{ matrix.target }}, ${{ matrix.cfg_release_channel }})
env:
CFG_RELEASE_CHANNEL: ${{ matrix.cfg_release_channel }}
strategy:
# https://help.github.com/en/actions/getting-started-with-github-actions/about-github-actions#usage-limits
# There's a limit of 60 concurrent jobs across all repos in the rust-lang organization.
@ -23,6 +25,7 @@ jobs:
x86_64-pc-windows-gnu,
x86_64-pc-windows-msvc,
]
cfg_release_channel: [nightly, stable]
steps:
# The Windows runners have autocrlf enabled by default