From 8232329b268c54d06e35e320573ad6b06fb18834 Mon Sep 17 00:00:00 2001 From: Brent Pedersen Date: Fri, 18 Mar 2022 11:35:57 +0100 Subject: [PATCH] d4 build --- .github/workflows/build.yml | 4 ++-- mosdepth.nimble | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e6a7faa..032778a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -72,8 +72,8 @@ jobs: #export HTSLIB=system git clone https://github.com/38/d4-format cd d4-format - cargo build --release --all-features - cd d4binding/ && cargo build --release && cd .. + cargo build --release --all-features --package=d4binding + cd d4binding/ && cargo build --release && ./install.sh && cd .. sudo cp ../d4-format/target/release/libd4binding.* /usr/local/lib sudo cp ./d4binding/include/d4.h /usr/local/include/ sudo ldconfig || true diff --git a/mosdepth.nimble b/mosdepth.nimble index 70f8d01..3ebf3be 100644 --- a/mosdepth.nimble +++ b/mosdepth.nimble @@ -7,7 +7,7 @@ license = "MIT" # Dependencies -requires "hts >= 0.3.21", "docopt >= 0.6.8", "nim >= 1.0.0", "https://github.com/brentp/d4-nim" +requires "hts >= 0.3.21", "docopt >= 0.6.8", "nim >= 1.0.0", "https://github.com/brentp/d4-nim >= 0.0.3" bin = @["mosdepth"] skipDirs = @["tests"]