mirror of https://github.com/tailix/libkernaux.git
Test Rust package on FreeBSD with Cirrus CI
This commit is contained in:
parent
5b97583201
commit
fe44a98d76
10
.cirrus.yml
10
.cirrus.yml
|
@ -62,3 +62,13 @@ rust_freebsd_task:
|
|||
- pkg install --yes autoconf automake
|
||||
dependencies_rust_script:
|
||||
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
main_build_script:
|
||||
- ./autogen.sh
|
||||
- ./configure CFLAGS='-O3 -fPIC'
|
||||
- make
|
||||
- sudo make install
|
||||
rust_test_script:
|
||||
- cd pkgs/rust
|
||||
- cargo test
|
||||
- cargo clippy
|
||||
- cargo fmt --check
|
||||
|
|
|
@ -26,9 +26,9 @@ jobs:
|
|||
- working-directory: pkgs/rust
|
||||
name: test
|
||||
run: cargo test
|
||||
- working-directory: pkgs/rust
|
||||
name: fmt
|
||||
run: cargo fmt --check
|
||||
- working-directory: pkgs/rust
|
||||
name: clippy
|
||||
run: cargo clippy
|
||||
- working-directory: pkgs/rust
|
||||
name: fmt
|
||||
run: cargo fmt --check
|
||||
|
|
Loading…
Reference in New Issue