Update tests to run on Ubuntu 22.04 (instead of 20.04)
Signed-off-by: Joe Richey <joerichey@google.com>
This commit is contained in:
parent
5ddec2a8f4
commit
941c2fff69
22
.github/workflows/tests.yml
vendored
22
.github/workflows/tests.yml
vendored
@ -15,7 +15,7 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
check-doc:
|
check-doc:
|
||||||
name: Docs, deadlinks, minimal dependencies
|
name: Docs, deadlinks, minimal dependencies
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: dtolnay/rust-toolchain@nightly # Needed for -Z minimal-versions and doc_cfg
|
- uses: dtolnay/rust-toolchain@nightly # Needed for -Z minimal-versions and doc_cfg
|
||||||
@ -41,7 +41,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest]
|
os: [ubuntu-22.04, windows-latest]
|
||||||
toolchain: [nightly, beta, stable, 1.36]
|
toolchain: [nightly, beta, stable, 1.36]
|
||||||
# Only Test macOS on stable to reduce macOS CI jobs
|
# Only Test macOS on stable to reduce macOS CI jobs
|
||||||
include:
|
include:
|
||||||
@ -61,7 +61,7 @@ jobs:
|
|||||||
|
|
||||||
linux-tests:
|
linux-tests:
|
||||||
name: Linux Test
|
name: Linux Test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
target: [
|
target: [
|
||||||
@ -127,7 +127,7 @@ jobs:
|
|||||||
|
|
||||||
cross-tests:
|
cross-tests:
|
||||||
name: Cross Test
|
name: Cross Test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
target: [
|
target: [
|
||||||
@ -164,7 +164,7 @@ jobs:
|
|||||||
|
|
||||||
cross-link:
|
cross-link:
|
||||||
name: Cross Build/Link
|
name: Cross Build/Link
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
target: [
|
target: [
|
||||||
@ -191,7 +191,7 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-22.04
|
||||||
host: x86_64-unknown-linux-musl
|
host: x86_64-unknown-linux-musl
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
host: x86_64-pc-windows-msvc
|
host: x86_64-pc-windows-msvc
|
||||||
@ -230,7 +230,7 @@ jobs:
|
|||||||
|
|
||||||
wasm64-tests:
|
wasm64-tests:
|
||||||
name: wasm64 Build/Link
|
name: wasm64 Build/Link
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: dtolnay/rust-toolchain@nightly # Need to build libstd
|
- uses: dtolnay/rust-toolchain@nightly # Need to build libstd
|
||||||
@ -245,7 +245,7 @@ jobs:
|
|||||||
|
|
||||||
wasi-tests:
|
wasi-tests:
|
||||||
name: WASI Test
|
name: WASI Test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
@ -262,7 +262,7 @@ jobs:
|
|||||||
|
|
||||||
build-tier2:
|
build-tier2:
|
||||||
name: Tier 2 Build
|
name: Tier 2 Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
target: [
|
target: [
|
||||||
@ -281,7 +281,7 @@ jobs:
|
|||||||
|
|
||||||
build-tier3:
|
build-tier3:
|
||||||
name: Tier 3 Build
|
name: Tier 3 Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
# Supported tier 3 targets without libstd support
|
# Supported tier 3 targets without libstd support
|
||||||
@ -318,7 +318,7 @@ jobs:
|
|||||||
|
|
||||||
clippy-fmt:
|
clippy-fmt:
|
||||||
name: Clippy + rustfmt
|
name: Clippy + rustfmt
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
|
Loading…
x
Reference in New Issue
Block a user