Skip to content

define match, mismatch and putative match conditions for taxa #2

define match, mismatch and putative match conditions for taxa

define match, mismatch and putative match conditions for taxa #2

name: develop-blobtk
on:
push:
branches:
# - main
- feature/*
tags:
- "*"
env:
VERSION: 0.5.8
jobs:
macos-binary:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
targets: x86_64-apple-darwin
- name: Build
working-directory: ./rust
run: |
cargo build --target=x86_64-apple-darwin --release
- name: Rename binary
run: |
mv ./rust/target/x86_64-apple-darwin/release/blobtk ./rust/target/x86_64-apple-darwin/release/blobtk-macos-x64
- name: Upload binary
uses: actions/upload-artifact@v3
with:
name: binaries
path: rust/target/x86_64-apple-darwin/release/blobtk-macos-*
macos-binary-arm64:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
targets: aarch64-apple-darwin
- name: Build
working-directory: ./rust
run: |
cargo build --target=aarch64-apple-darwin --release
- name: Rename binary
run: |
mv ./rust/target/aarch64-apple-darwin/release/blobtk ./rust/target/aarch64-apple-darwin/release/blobtk-macos-arm64
- name: Upload binary
uses: actions/upload-artifact@v3
with:
name: binaries
path: rust/target/aarch64-apple-darwin/release/blobtk-macos-*
linux-binary:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install static libraries for C
run: sudo apt-get install -y libc6-dev
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
targets: x86_64-unknown-linux-gnu
- name: Build
working-directory: ./rust
run: RUSTFLAGS="-C target-feature=+crt-static -C relocation-model=static" cargo build --target x86_64-unknown-linux-gnu --release
- name: Rename binary
run: |
mv ./rust/target/x86_64-unknown-linux-gnu/release/blobtk ./rust/target/release/blobtk-linux
- name: Upload binary
uses: actions/upload-artifact@v3
with:
name: binaries
path: ./rust/target/release/blobtk-*