fixup! Add a simple Jenkinsfile
This commit is contained in:
parent
5f08f7a13c
commit
fabc0b205c
|
@ -26,8 +26,7 @@ jobs:
|
|||
repo: cargo-lambda/cargo-lambda
|
||||
platform: linux # Other valid options: 'windows' or 'darwin'
|
||||
arch: x86_64 # Other valid options for linux: 'aarch64'
|
||||
# Add your build steps below
|
||||
- name: Build
|
||||
run: cargo lambda build
|
||||
run: ./ci/build.sh
|
||||
- name: Run tests
|
||||
run: cargo test --verbose
|
||||
run: ./ci/test.sh
|
||||
|
|
|
@ -28,6 +28,12 @@ pipeline {
|
|||
sh './ci/test.sh'
|
||||
}
|
||||
}
|
||||
stage('Release') {
|
||||
steps {
|
||||
sh './ci/build-release.sh'
|
||||
archiveArtifacts artifacts: 'target/lambda/**/*.zip', fingerprint: true, onlyIfSuccessful: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
cargo lambda build --release --output-format zip
|
Loading…
Reference in New Issue