Add scripts
This commit is contained in:
parent
b434c7e50c
commit
f8f7faea9f
|
@ -15,12 +15,12 @@ pipeline {
|
|||
}
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'cargo build'
|
||||
sh './ci/build.sh'
|
||||
}
|
||||
}
|
||||
stage('Test') {
|
||||
steps {
|
||||
sh 'cargo test'
|
||||
sh './ci/test.sh'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
cargo lambda build
|
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
which cargo-lambda
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
cargo install cargo-lambda
|
||||
fi;
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
cargo test --verbose
|
Loading…
Reference in New Issue