added debug flag
Some checks failed
continuous-integration/drone/tag Build is failing

This commit is contained in:
2020-04-04 15:26:49 +02:00
parent 70f37844d3
commit 70d66f6a74
7 changed files with 163 additions and 23 deletions

View File

@@ -6,14 +6,14 @@ steps:
image: rust:1.41.0
commands:
- apt update && apt install -y libpam-dev
- cargo test --release
- cargo test --debug
- name: build_relase
image: rust:1.41.0
commands:
- apt update && apt install -y libpam-dev
- cargo build --release
- cargo build --debug
- mkdir -p bin lib
- bash -c 'cp $${CARGO_TARGET_DIR:-target}/release/fido2-pam-credential bin/; cp $${CARGO_TARGET_DIR:-target}/release/libpam_fido2.so lib/'
- bash -c 'cp $${CARGO_TARGET_DIR:-target}/debug/pam_fido2-cli bin/; cp $${CARGO_TARGET_DIR:-target}/debug/libpam_fido2.so lib/'
- strip bin/*
- tar cvzf pam_fido2.tar.gz bin lib src Cargo.*
when: