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 /.builds | |
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>
Diffstat (limited to '.builds')
-rw-r--r-- | .builds/msrv.yml | 17 |
1 files changed, 17 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 + |