PD-5181: StxTyper ver. 1.0.28 #467
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: C++ CI | |
on: | |
workflow_dispatch: | |
push: | |
pull_request: | |
repository_dispatch: | |
types: [linux-compile-test, install-test] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: prerequisites | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y hmmer ncbi-blast+ git libcurl4-openssl-dev build-essential curl | |
- name: submodule checkout | |
run: git submodule update --init --recursive | |
- name: make | |
run: cat version.txt; make | |
- name: download db | |
run: ./amrfinder -u | |
- name: Software and DB version | |
run: ./amrfinder --database_version | |
- name: make test | |
run: make test | |
- name: test for no-overwrite database update (PD-3469 / https://github.com/ncbi/amr/issues/16) | |
run: ./amrfinder -u 2>&1 | fgrep 'Skipping update' | |
- name: make github_binaries | |
run: make github_binaries | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: release-binary | |
path: amrfinder_binaries_v*.tar.gz | |