mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
build(ci): use RUST_VERSION for CTS consistently
This commit is contained in:
parent
4a9797276a
commit
3d76979da6
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -327,11 +327,13 @@ jobs:
|
|||||||
- name: checkout repo
|
- name: checkout repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: install rust
|
- name: install rust ${{ env.RUST_VERSION }}
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
profile: minimal
|
profile: minimal
|
||||||
toolchain: ${{ env.RUST_VERSION }}
|
toolchain: ${{ env.RUST_VERSION }}
|
||||||
|
override: true
|
||||||
|
components: clippy
|
||||||
|
|
||||||
- name: disable debug
|
- name: disable debug
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
6
.github/workflows/cts.yml
vendored
6
.github/workflows/cts.yml
vendored
@ -9,6 +9,7 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
RUST_BACKTRACE: 1
|
RUST_BACKTRACE: 1
|
||||||
|
RUST_VERSION: 1.64
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
cts:
|
cts:
|
||||||
@ -46,12 +47,13 @@ jobs:
|
|||||||
cd cts
|
cd cts
|
||||||
git checkout $(cat ../wgpu/cts_runner/revision.txt)
|
git checkout $(cat ../wgpu/cts_runner/revision.txt)
|
||||||
|
|
||||||
- name: install rust
|
- name: install rust ${{ env.RUST_VERSION }}
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: ${{ env.RUST_VERSION }}
|
||||||
target: ${{ matrix.target }}
|
target: ${{ matrix.target }}
|
||||||
profile: minimal
|
profile: minimal
|
||||||
|
override: true
|
||||||
|
|
||||||
- name: caching
|
- name: caching
|
||||||
uses: Swatinem/rust-cache@v1
|
uses: Swatinem/rust-cache@v1
|
||||||
|
|||||||
@ -32,7 +32,7 @@ For an overview of all the components in the gfx-rs ecosystem, see [the big pict
|
|||||||
### MSRV policy
|
### MSRV policy
|
||||||
|
|
||||||
Minimum Supported Rust Version is **1.64**.
|
Minimum Supported Rust Version is **1.64**.
|
||||||
It is enforced on CI (in "/.github/workflows/ci.yml") with `RUST_VERSION` variable.
|
It is enforced on CI (in "/.github/workflows/ci.yml", "/.github/workflows/cts.yml") with `RUST_VERSION` variable.
|
||||||
This version can only be upgraded in breaking releases.
|
This version can only be upgraded in breaking releases.
|
||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user