Skip to content

Expose APIs for accessing the underlying WKB buffer to implement various functions efficiently #173

Expose APIs for accessing the underlying WKB buffer to implement various functions efficiently

Expose APIs for accessing the underlying WKB buffer to implement various functions efficiently #173

Workflow file for this run

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