From 5c52ecd7fddb2aa1e08e55540a3bad30b1a3ebd8 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 6 Apr 2021 09:48:03 +0200 Subject: 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 --- .builds/msrv.yml | 17 +++++++++++++++++ README.md | 2 ++ librepology/README.md | 2 ++ 3 files changed, 21 insertions(+) create mode 100644 .builds/msrv.yml 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 + diff --git a/README.md b/README.md index 758e9fa..907df93 100644 --- a/README.md +++ b/README.md @@ -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 -- cgit v1.2.3