-
Notifications
You must be signed in to change notification settings - Fork 107
Binary Releases
The binary releases are built to provide an easy way to get started without having to build wgpu-native yourself. The releases should generally not be regarded as major milestones, but rather as snapshots of the current state of wgpu-native, wgpu-core and Naga.
The versioning (currently) follows wgpu-core, with one extra "build number". The version number will thus typically have 4 numbers.
The library provides a function to obtain the version number matching the Github release version. It returns an uint32
where each byte represents one element of the version number.
The binaries for Linux are built using manylinux, a Docker image that is designed such that any binaries built would work on large variety of other Linux distributions.
Currently wgpu-native uses manylinux_2_28
version of manylinux image, because that's the only image that ships recent enough version of clang, which is unfortunately required by the bindgen
crate.
To create a release (by devs with push-rights to this repo):
-
git tag va.b.c.d
, witha.b.c
the version of wgpu-core as specified in Cargo.toml, andd
the "build number". -
git push
the tag. - Github Actions does the rest.