PD-4888 mutate.cpp is added #160
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: 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 | tee output | |
fgrep 'Skipping update, use amrfinder --force_update to overwrite the existing database' output | |
- name: make github_binaries | |
run: make github_binaries | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: release-binary | |
path: amrfinder_binaries_v*.tar.gz | |