Skip to content

Commit e47b826

Browse files
committed
run the bzip2-rs test suite
1 parent 70b0227 commit e47b826

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/checks.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,3 +394,25 @@ jobs:
394394
abidw $LIBBZ2_PATH > /tmp/$LIBBZ2_FILENAME.abi
395395
abidw /tmp/cargo-cbuild-libbzip2-rs/usr/local/lib/x86_64-linux-gnu/libbz2_rs.so > /tmp/liblibz_rs_sys.so.abi
396396
abidiff --no-unreferenced-symbols --ignore-soname /tmp/$LIBBZ2_FILENAME.abi /tmp/liblibz_rs_sys.so.abi
397+
398+
run-bzip2-rs-test-suite:
399+
name: run bzip2-rs test suite
400+
strategy:
401+
matrix:
402+
include:
403+
- target: x86_64-unknown-linux-gnu
404+
features:
405+
- ''
406+
runs-on: ubuntu-latest
407+
steps:
408+
- name: Checkout sources
409+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
410+
with:
411+
persist-credentials: false
412+
- name: run
413+
run: |
414+
cd ..
415+
git clone [email protected]:trifectatechfoundation/bzip2-rs.git
416+
cd bzip2-rs
417+
sed '/^\[dependencies\.libbz2-rs-sys\]/,/^$/ s/^version = .*/path = "..\/libbzip2-rs\/libbz2-rs-sys"/' Cargo.toml
418+
cargo test --no-default-features --features="libbz2-rs-sys"

0 commit comments

Comments
 (0)