This commit is contained in:
parent
814f01f389
commit
09b5aeb262
|
@ -5,11 +5,13 @@ steps:
|
|||
- name: test-linux
|
||||
image: rust
|
||||
commands:
|
||||
- apk install luajit
|
||||
- cargo test -v
|
||||
|
||||
- name: clippy-linux
|
||||
image: rust
|
||||
commands:
|
||||
- apk install luajit
|
||||
- rustup component add clippy
|
||||
- cargo clippy
|
||||
---
|
||||
|
@ -20,13 +22,15 @@ steps:
|
|||
- name: release-linux
|
||||
image: rust
|
||||
commands:
|
||||
- apk install luajit
|
||||
- cargo build --release -v
|
||||
- strip target/release/lmpt
|
||||
|
||||
- name: release-windows
|
||||
image: lordmzte/rust-win
|
||||
commands:
|
||||
- cargo build --release --target x86_64-pc-windows-gnu -v
|
||||
- apk install luajit
|
||||
- cargo build --release --target x86_64-pc-windows-gnu -v
|
||||
|
||||
- name: publish
|
||||
image: plugins/gitea-release
|
||||
|
|
Loading…
Reference in a new issue