rnaSPAdes tests #65
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: rnaSPAdes tests | |
on: | |
workflow_dispatch: | |
pull_request: | |
paths-ignore: | |
- 'docs/**' | |
- 'mkdocs.yml' | |
push: | |
tags: | |
- '*' | |
schedule: | |
- cron: '0 7 * * 3' | |
env: | |
BUILD_TYPE: Release | |
BUILD_DIR: ${{github.workspace}}/build | |
INSTALL_DIR: ${{github.workspace}}/spades | |
SRC_DIR: ${{github.workspace}}/src | |
PKG: SPAdes-*-Linux | |
jobs: | |
build: | |
runs-on: self-hosted | |
name: 'π§ Build SPAdes' | |
steps: | |
- name: 'π§Ή Cleanup' | |
run: > | |
set -e && | |
shopt -s dotglob && | |
rm -rf * | |
- name: 'π§° Checkout' | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: 'βοΈ Install ccache' | |
uses: hendrikmuhs/ccache-action@v1.2 | |
with: | |
variant: sccache | |
key: sccache-${{env.BUILD_TYPE}} | |
- name: 'βοΈ Configure CMake' | |
run: > | |
cmake | |
-B ${{env.BUILD_DIR}} | |
-S ${{env.SRC_DIR}} | |
-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache | |
-DCMAKE_INSTALL_PREFIX=${{env.INSTALL_DIR}} | |
- name: 'π§ Build' | |
run: > | |
cmake | |
--build ${{env.BUILD_DIR}} | |
-j16 | |
-t package | |
- name: 'π¦ Package' | |
uses: actions/upload-artifact@v4 | |
with: | |
name: build-artifacts | |
path: | | |
${{env.BUILD_DIR}}/${{env.PKG}}.tar.gz | |
rna-zmays: | |
name: 'Z.mays' | |
runs-on: self-hosted | |
needs: build | |
steps: | |
- name: 'π§Ή Cleanup' | |
run: > | |
set -e && | |
shopt -s dotglob && | |
rm -rf * | |
- name: 'π§° Checkout' | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: 'π¦ Download package' | |
uses: actions/download-artifact@v4 | |
with: | |
name: build-artifacts | |
path: ${{env.INSTALL_DIR}} | |
- name: 'π¦ Unpack package' | |
working-directory: ${{env.INSTALL_DIR}} | |
run: > | |
tar -zxf ${{env.PKG}}.tar.gz | |
- name: 'Assembly' | |
run: > | |
${{env.SRC_DIR}}/test/teamcity/github_runner.py | |
--spades_path ${{env.INSTALL_DIR}}/${{env.PKG}}/bin | |
--no_contig_archive | |
/data/rna_tests/ZMAYS_RNA.info | |
rna-zmays-ss: | |
name: 'Z.mays strand specific' | |
runs-on: self-hosted | |
needs: build | |
steps: | |
- name: 'π§Ή Cleanup' | |
run: > | |
set -e && | |
shopt -s dotglob && | |
rm -rf * | |
- name: 'π§° Checkout' | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: 'π¦ Download package' | |
uses: actions/download-artifact@v4 | |
with: | |
name: build-artifacts | |
path: ${{env.INSTALL_DIR}} | |
- name: 'π¦ Unpack package' | |
working-directory: ${{env.INSTALL_DIR}} | |
run: > | |
tar -zxf ${{env.PKG}}.tar.gz | |
- name: 'Assembly' | |
run: > | |
${{env.SRC_DIR}}/test/teamcity/github_runner.py | |
--spades_path ${{env.INSTALL_DIR}}/${{env.PKG}}/bin | |
--no_contig_archive | |
/data/rna_tests/ZMAYS_SS_RNA.info | |
rna-celegans: | |
name: 'C.elegans' | |
runs-on: self-hosted | |
needs: build | |
steps: | |
- name: 'π§Ή Cleanup' | |
run: > | |
set -e && | |
shopt -s dotglob && | |
rm -rf * | |
- name: 'π§° Checkout' | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: 'π¦ Download package' | |
uses: actions/download-artifact@v4 | |
with: | |
name: build-artifacts | |
path: ${{env.INSTALL_DIR}} | |
- name: 'π¦ Unpack package' | |
working-directory: ${{env.INSTALL_DIR}} | |
run: > | |
tar -zxf ${{env.PKG}}.tar.gz | |
- name: 'Assembly' | |
run: > | |
${{env.SRC_DIR}}/test/teamcity/github_runner.py | |
--spades_path ${{env.INSTALL_DIR}}/${{env.PKG}}/bin | |
--no_contig_archive | |
/data/rna_tests/CELEGANS_RNA.info | |
rna-celegans-hybrid: | |
name: 'C.elegans hybrid mode' | |
runs-on: self-hosted | |
needs: build | |
steps: | |
- name: 'π§Ή Cleanup' | |
run: > | |
set -e && | |
shopt -s dotglob && | |
rm -rf * | |
- name: 'π§° Checkout' | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: 'π¦ Download package' | |
uses: actions/download-artifact@v4 | |
with: | |
name: build-artifacts | |
path: ${{env.INSTALL_DIR}} | |
- name: 'π¦ Unpack package' | |
working-directory: ${{env.INSTALL_DIR}} | |
run: > | |
tar -zxf ${{env.PKG}}.tar.gz | |
- name: 'Assembly' | |
run: > | |
${{env.SRC_DIR}}/test/teamcity/github_runner.py | |
--spades_path ${{env.INSTALL_DIR}}/${{env.PKG}}/bin | |
--no_contig_archive | |
/data/rna_tests/CELEGANS_RNA_HYBRID.info | |
rna-celegans-fl: | |
name: 'C.elegans full-length reads' | |
runs-on: self-hosted | |
needs: build | |
steps: | |
- name: 'π§Ή Cleanup' | |
run: > | |
set -e && | |
shopt -s dotglob && | |
rm -rf * | |
- name: 'π§° Checkout' | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: 'π¦ Download package' | |
uses: actions/download-artifact@v4 | |
with: | |
name: build-artifacts | |
path: ${{env.INSTALL_DIR}} | |
- name: 'π¦ Unpack package' | |
working-directory: ${{env.INSTALL_DIR}} | |
run: > | |
tar -zxf ${{env.PKG}}.tar.gz | |
- name: 'Assembly' | |
run: > | |
${{env.SRC_DIR}}/test/teamcity/github_runner.py | |
--spades_path ${{env.INSTALL_DIR}}/${{env.PKG}}/bin | |
--no_contig_archive | |
/data/rna_tests/CELEGANS_RNA_FL.info |