-
Notifications
You must be signed in to change notification settings - Fork 41
38 lines (34 loc) · 1.03 KB
/
ccpp.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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