Skip to content

Commit

Permalink
0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jackh726 committed Feb 1, 2024
1 parent 8e5333e commit ebf5f99
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 19 deletions.
44 changes: 28 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
target: x86_64-unknown-linux-gnu
asset_name: bigtools-linux-gnu
remote: true
- os: windows-msvc-latest
- os: windows-latest
target: x86_64-pc-windows-msvc
asset_name: bigtools-windows-msvc
remote: true
Expand All @@ -42,27 +42,39 @@ jobs:
- name: Build project
run: |
rustup target add ${{ matrix.target }}
cargo build --release --locked --target ${{ matrix.target }} --no-default-features ${{ matrix.remote && '--features remote' || '' }}
cargo build -p bigtools --release --locked --target ${{ matrix.target }} --no-default-features ${{ matrix.remote && '--features remote' || '' }}
- name: Zip build artifacts
uses: papeloto/action-zip@v1
with:
files: |
target/release/bedgraphtobigwig;
target/release/bedtobigbed;
target/release/bigbedinfo;
target/release/bigbedtobed;
target/release/bigtools;
target/release/bigwigaverageoverbed;
target/release/bigwiginfo;
target/release/bigwigmerge;
target/release/bigwigtobedgraph;
target/release/bigwigvaluesoverbed
dest: ${{ matrix.asset_name }}.zip
run: >
zip ${{ matrix.asset_name }}.zip
target/release/bedgraphtobigwig
target/release/bedtobigbed
target/release/bigbedinfo
target/release/bigbedtobed
target/release/bigtools
target/release/bigwigaverageoverbed
target/release/bigwiginfo
target/release/bigwigmerge
target/release/bigwigtobedgraph
target/release/bigwigvaluesoverbed
- name: Zip upload
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ${{ github.workspace }}/${{ matrix.asset_name }}.zip

publish:
if: startsWith(github.ref, 'refs/tags/v')
name: Build and Release
runs-on: ubuntu-latest
needs: release
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Cargo publish
uses: katyo/publish-crates@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bigtools/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bigtools"
version = "0.3.1-dev"
version = "0.4.0"
authors = ["Jack Huey <[email protected]>"]
edition = "2021"
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion pybigtools/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ name = "pybigtools"
crate-type = ["cdylib"]

[dependencies]
bigtools = { version = "0.3.1-dev", path = "../bigtools" }
bigtools = { version = "0.4.0", path = "../bigtools" }
url = "2.4.0"
tokio = { version = "1.34.0", features = ["rt", "rt-multi-thread"] }
futures = { version = "0.3.1", features = ["thread-pool"] }
Expand Down

0 comments on commit ebf5f99

Please sign in to comment.