Skip to content

Commit

Permalink
fixup bsd tests via cirrus
Browse files Browse the repository at this point in the history
  • Loading branch information
0xpr03 committed Aug 8, 2023
1 parent 87b1264 commit 8280160
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# adopted from https://github.com/tokio-rs/tokio/blob/master/.cirrus.yml
freebsd_instance:
image_family: freebsd-13-2
task:
name: FreeBSD 64-bit
setup_script:
- pkg install -y bash
- curl https://sh.rustup.rs -sSf --output rustup.sh
- sh rustup.sh -y --profile minimal --default-toolchain stable
- . $HOME/.cargo/env
- |
echo "~~~~ rustc --version ~~~~"
rustc --version
test_script:
- . $HOME/.cargo/env
- cargo test --all --all-features
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,11 @@ jobs:
rustup target add ${{ matrix.target }}
- name: check build
# we can't cargo build here due to missing OS libraries
# see .cirrus.yml for full netbsd builds
run: |
rustc --version && cargo --version
cargo build --target ${{ matrix.target }}
cargo check --target ${{ matrix.target }}
- name: check build without crossbeam/default features
run: cargo build -p notify --no-default-features --target ${{ matrix.target }}
Expand Down

0 comments on commit 8280160

Please sign in to comment.