Expose APIs for accessing the underlying WKB buffer to implement various functions efficiently #170
Workflow file for this run
This file contains hidden or 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
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
name: Run tests | |
jobs: | |
wkb: | |
name: wkb | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, '[skip ci]')" | |
steps: | |
- name: Install Rust toolchain | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: stable | |
profile: minimal | |
override: true | |
components: rustfmt, clippy, rust-src | |
- name: Install dependencies | |
shell: bash | |
run: | | |
rustc --version | |
cargo --version | |
sudo apt-get update | |
sudo apt-get install -y libgeos-dev | |
- name: Checkout repository | |
uses: actions/checkout@v5 | |
- run: cargo fmt --all -- --check | |
- run: cargo clippy --all-features --all-targets -- -Dwarnings | |
- run: cargo test --all-features | |
- run: cargo test --no-default-features | |
# Ensure that we're not hitting rustc regressions that only appear in | |
# release mode, see https://github.com/georust/wkb/issues/15, | |
# https://github.com/georust/wkb/pull/77 | |
- run: cargo build --release |