Add to_be_bytes()
and to_le_bytes()
methods (#14)
#35
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- 'arbi/**' | |
- 'examples/**' | |
pull_request: | |
branches: [ main ] | |
paths: | |
- 'arbi/**' | |
- 'examples/**' | |
workflow_dispatch: | |
jobs: | |
build-and-test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Rust | |
run: | | |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y | |
shell: bash | |
- name: Run tests | |
run: | | |
cargo test --release | |
# # Run examples | |
# for example in examples/*; do | |
# if [ -f "$example/Cargo.toml" ]; then | |
# cargo run --release --manifest-path "$example/Cargo.toml" | |
# fi | |
# done | |
shell: bash |