This commit is contained in:
parent
8257f9304b
commit
8b202e5363
2 changed files with 10 additions and 4 deletions
|
@ -1,6 +1,12 @@
|
|||
steps:
|
||||
build:
|
||||
deps:
|
||||
image: rust
|
||||
commands:
|
||||
- make rust.test
|
||||
- make rust.build
|
||||
|
||||
build:
|
||||
image: go
|
||||
commands:
|
||||
- make test
|
||||
- make build-rust
|
||||
- make example
|
||||
|
|
4
Makefile
4
Makefile
|
@ -1,11 +1,11 @@
|
|||
build-rust:
|
||||
rust.build:
|
||||
@-rm -rf lib
|
||||
mkdir lib/
|
||||
cd ./mcaptcha-pow-ffi/ && cargo build --release \
|
||||
&& cp ./target/release/libmcaptcha_pow_ffi.a ../lib/ \
|
||||
&& cp ./target/release/libmcaptcha_pow_ffi.so ../lib/
|
||||
|
||||
test:
|
||||
rust.test:
|
||||
cd ./mcaptcha-pow-ffi/ && cargo test
|
||||
|
||||
example:
|
||||
|
|
Loading…
Reference in a new issue