Browse Source

use Cargo.lock w/ CI

edition-2021
Lynne Megido 5 months ago
parent
commit
475998fd22
Signed by: lynnesbian GPG Key ID: F0A184B5213D9F90
  1. 2
      .drone.yml
  2. 4
      .gitlab-ci.yml

2
.drone.yml

@ -7,7 +7,7 @@ steps:
- name: linux-gnu
image: rust:latest
commands:
- cargo test -j3
- cargo test --locked -j3
#- name: linux-musl
# image: rust:alpine
# commands:

4
.gitlab-ci.yml

@ -19,12 +19,12 @@ stages:
build:
stage: build
script:
- cargo build --verbose
- cargo build --verbose --locked
cargo-test:
stage: test
script:
cargo test --verbose
cargo test --verbose --locked
clippy:
stage: test

Loading…
Cancel
Save