Enforce MSRV

This commit is contained in:
Dzmitry Malyshau 2021-12-03 10:10:55 -05:00
parent dd315e50ff
commit 668bea4cb2
2 changed files with 13 additions and 6 deletions

View File

@ -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

View File

@ -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