mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-25 08:13:27 +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
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: install rust
|
||||
- name: install rust ${{ env.RUST_VERSION }}
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: ${{ env.RUST_VERSION }}
|
||||
override: true
|
||||
components: clippy
|
||||
|
||||
- name: disable debug
|
||||
shell: bash
|
||||
|
6
.github/workflows/cts.yml
vendored
6
.github/workflows/cts.yml
vendored
@ -9,6 +9,7 @@ on:
|
||||
|
||||
env:
|
||||
RUST_BACKTRACE: 1
|
||||
RUST_VERSION: 1.64
|
||||
|
||||
jobs:
|
||||
cts:
|
||||
@ -46,12 +47,13 @@ jobs:
|
||||
cd cts
|
||||
git checkout $(cat ../wgpu/cts_runner/revision.txt)
|
||||
|
||||
- name: install rust
|
||||
- name: install rust ${{ env.RUST_VERSION }}
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
toolchain: ${{ env.RUST_VERSION }}
|
||||
target: ${{ matrix.target }}
|
||||
profile: minimal
|
||||
override: true
|
||||
|
||||
- name: caching
|
||||
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
|
||||
|
||||
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.
|
||||
|
||||
## Getting Started
|
||||
|
Loading…
Reference in New Issue
Block a user