Skip to content

First pass at randomized testing for POSIX semantics #39

First pass at randomized testing for POSIX semantics

First pass at randomized testing for POSIX semantics #39

Workflow file for this run

name: Crate checks
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
merge_group:
types: [ "checks_requested" ]
jobs:
verify-crate:
name: Verify crate
runs-on: ubuntu-22.04
strategy:
matrix:
crate:
- mountpoint-s3-crt-sys
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: true
- name: Set up stable Rust
uses: dtolnay/rust-toolchain@stable
- name: Package ${{ matrix.crate }} crate
# `--no-verify` avoids building using crates.io dependencies, which for local packages may not be updated yet
run: cargo package -p ${{ matrix.crate }} --no-verify
- name: Verify compressed crate size is smaller than crates.io limit
run: |
ls -alh target/package/*.crate
test `cat target/package/*.crate | wc -c` -le 10485760