|
|
@@ -1,4 +1,4 @@
|
|
|
-name: Unit tests BSD
|
|
|
+name: Unit tests (BSD)
|
|
|
|
|
|
on:
|
|
|
push:
|
|
|
@@ -72,3 +72,27 @@ jobs:
|
|
|
cargo fmt --check
|
|
|
cargo clippy -- -D warnings
|
|
|
cargo hack test
|
|
|
+
|
|
|
+ unit-tests-openbsd:
|
|
|
+ runs-on: ubuntu-22.04
|
|
|
+ timeout-minutes: 20
|
|
|
+ steps:
|
|
|
+ - uses: actions/checkout@v4
|
|
|
+ with:
|
|
|
+ submodules: recursive
|
|
|
+ - name: Compile
|
|
|
+ uses: vmactions/openbsd-vm@v1
|
|
|
+ with:
|
|
|
+ release: '7.4'
|
|
|
+ usesh: true
|
|
|
+ prepare: |
|
|
|
+ pkg_add rust rust-rustfmt rust-clippy git
|
|
|
+ cargo install cargo-hack
|
|
|
+ git config --global --add safe.directory /home/runner/work/eza/eza
|
|
|
+ run: |
|
|
|
+ set -e
|
|
|
+ export CARGO_TERM_COLOR="always"
|
|
|
+ export RUSTFLAGS="--deny warnings"
|
|
|
+ cargo fmt --check
|
|
|
+ cargo clippy -- -D warnings
|
|
|
+ cargo hack test
|