diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-04-06 09:48:03 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-04-06 10:19:14 +0200 |
commit | 5c52ecd7fddb2aa1e08e55540a3bad30b1a3ebd8 (patch) | |
tree | f09473e14c7edbb0c77c09a152f550b0c31d1e07 | |
parent | d9810aaa4c7308f56424d2781d628b4bf96a3a06 (diff) |
Add minimum-supported-rust-version build
Only cargo-check here (including tests), because we don't need to
generate a binary to check MSRV.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r-- | .builds/msrv.yml | 17 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | librepology/README.md | 2 |
3 files changed, 21 insertions, 0 deletions
diff --git a/.builds/msrv.yml b/.builds/msrv.yml new file mode 100644 index 0000000..1094081 --- /dev/null +++ b/.builds/msrv.yml @@ -0,0 +1,17 @@ +image: debian/buster +sources: + - https://git.sr.ht/~matthiasbeyer/repolocli +packages: + - libssl-dev + - openssl + - pkg-config +tasks: + - install: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.42.0 + - build: | + cd repolocli + PATH="$HOME/.cargo/bin:$PATH" cargo check --all --all-features --tests +triggers: + - action: email + condition: always + to: mail@beyermatthias.de + @@ -5,6 +5,8 @@ This repository is a WIP project to bring repology to the commandline. There's a library under `./librepology/` and a commandline interface for viewing repology data. +MSRV: 1.42.0 + ## License Library: MPL 2.0 diff --git a/librepology/README.md b/librepology/README.md index a65a668..c515f2d 100644 --- a/librepology/README.md +++ b/librepology/README.md @@ -2,6 +2,8 @@ Library for accessing the public API of repology.org. +MSRV: 1.42.0 + ## License The code in this directory (and all subdirectories) is _not_ licensed as |