-
Notifications
You must be signed in to change notification settings - Fork 43
65 lines (63 loc) · 2.07 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: C++ CI
on:
workflow_dispatch:
push:
pull_request:
repository_dispatch:
types: [linux-compile-test, install-test]
jobs:
linux_x86:
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 -j -O
- 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
arm_x86:
runs-on: ubuntu-24.04-arm
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 -j -O
- 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
version=`cat version.txt`
mv amrfinder_binaries_v$version.tar.gz amrfinder_binaries_linux_aarch64_v$version.tar.gz
- uses: actions/upload-artifact@v3
with:
name: release-binary
path: amrfinder_binaries_linux_aarch64_v*.tar.gz