mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
Enforce MSRV
This commit is contained in:
parent
dd315e50ff
commit
668bea4cb2
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
@ -8,6 +8,7 @@ on:
|
||||
|
||||
env:
|
||||
RUST_BACKTRACE: 1
|
||||
RUST_VERSION: 1.53
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -18,7 +19,7 @@ jobs:
|
||||
# Windows
|
||||
- name: Windows x86_64
|
||||
os: windows-2019
|
||||
channel: stable
|
||||
channel: ${{ env.RUST_VERSION }}
|
||||
target: x86_64-pc-windows-msvc
|
||||
kind: test
|
||||
backends: dx12 # dx11
|
||||
@ -34,7 +35,7 @@ jobs:
|
||||
# Mac has no software runners, so don't run tests
|
||||
- name: MacOS x86_64
|
||||
os: macos-10.15
|
||||
channel: stable
|
||||
channel: ${{ env.RUST_VERSION }}
|
||||
target: x86_64-apple-darwin
|
||||
kind: compile
|
||||
|
||||
@ -42,7 +43,7 @@ jobs:
|
||||
# IOS
|
||||
- name: IOS aarch64
|
||||
os: macos-10.15
|
||||
channel: stable
|
||||
channel: ${{ env.RUST_VERSION }}
|
||||
target: aarch64-apple-ios
|
||||
kind: compile
|
||||
|
||||
@ -50,7 +51,7 @@ jobs:
|
||||
# Linux
|
||||
- name: Linux x86_64
|
||||
os: ubuntu-20.04
|
||||
channel: stable
|
||||
channel: ${{ env.RUST_VERSION }}
|
||||
target: x86_64-unknown-linux-gnu
|
||||
kind: test
|
||||
backends: vulkan # gl
|
||||
@ -65,7 +66,7 @@ jobs:
|
||||
# Android
|
||||
- name: Android aarch64
|
||||
os: ubuntu-20.04
|
||||
channel: stable
|
||||
channel: ${{ env.RUST_VERSION }}
|
||||
target: aarch64-linux-android
|
||||
kind: compile
|
||||
|
||||
@ -73,7 +74,7 @@ jobs:
|
||||
# WebGPU/WebGL
|
||||
- name: WebAssembly
|
||||
os: ubuntu-20.04
|
||||
channel: stable
|
||||
channel: ${{ env.RUST_VERSION }}
|
||||
target: wasm32-unknown-unknown
|
||||
kind: webgl
|
||||
|
||||
|
||||
@ -29,6 +29,12 @@ The following binaries:
|
||||
|
||||
For an overview of all the components in the gfx-rs ecosystem, see [the big picture](./etc/big-picture.png).
|
||||
|
||||
### MSRV policy
|
||||
|
||||
Minimum Supported Rust Version is **1.53**.
|
||||
It is enforced on CI (in "/.github/workflows/ci.txt") with `RUST_VERSION` variable.
|
||||
This version can only be upgraded in breaking releases.
|
||||
|
||||
## Getting Started
|
||||
|
||||
### Rust
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user