summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-04-06 09:48:03 +0200
committerMatthias Beyer <mail@beyermatthias.de>2021-04-06 10:19:14 +0200
commit5c52ecd7fddb2aa1e08e55540a3bad30b1a3ebd8 (patch)
treef09473e14c7edbb0c77c09a152f550b0c31d1e07
parentd9810aaa4c7308f56424d2781d628b4bf96a3a06 (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.yml17
-rw-r--r--README.md2
-rw-r--r--librepology/README.md2
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
+
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