Skip to content

SPAdes full-runs tests #15

SPAdes full-runs tests

SPAdes full-runs tests #15

Workflow file for this run

name: SPAdes full-runs tests
on:
workflow_dispatch:
push:
tags:
- '*'
schedule:
- cron: '0 3 7,21 * *'
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
fr-ecoli-is220:
name: 'Full run E.coli IS 220'
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/spades_tests/FR_E.coli_is220.info
fr-ecoli-ucsd-lane1:
name: 'Full run E.coli UCSD lane 1'
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/spades_tests/FR_E.coli_UCSD_lane1.info