-
Notifications
You must be signed in to change notification settings - Fork 13
74 lines (58 loc) · 1.78 KB
/
test_cando.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
65
66
67
68
69
70
71
72
73
74
name: Test
on:
push:
branches: [ main ]
pull_request:
jobs:
test:
name: ${{ matrix.os }}
defaults:
run:
shell: bash -l {0}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-22.04
- macos-latest
runs-on: ${{ matrix.os }}
steps:
- name: Install Ubuntu dependencies
if: matrix.os == 'ubuntu-22.04'
run: |
sudo apt-get update
sudo apt install -y binutils-gold libbsd-dev clang-15 libclang-15-dev libclang-cpp15-dev llvm-15 llvm-15-dev libelf-dev libgmp-dev libncurses-dev libunwind-dev ninja-build sbcl zlib1g-dev libnetcdf-dev libexpat1-dev libfmt-dev libboost-all-dev
- name: Install MacOS dependencies
if: matrix.os == 'macos-latest'
run: |
brew install boost fmt gmp llvm@15 ninja pkg-config sbcl ecl netcdf zeromq
- name: Checkout clasp
uses: actions/checkout@v4
with:
repository: clasp-developers/clasp
ref: main
- name: Checkout cando
uses: actions/checkout@v4
with:
path: extensions/cando
- uses: conda-incubator/setup-miniconda@v2
- name: Install AmberTools
run: |
conda install -c conda-forge ambertools
- name: Build Clasp (koga/Ubuntu)
if: matrix.os == 'ubuntu-22.04'
run: |
./koga --extensions=cando,seqan-clasp --skip-sync=cando
- name: Build Clasp (koga/MacOS)
if: matrix.os == 'macos-latest'
run: |
./koga --extensions=cando,seqan-clasp --skip-sync=cando --llvm-config=/usr/local/opt/llvm@15/bin/llvm-config
- name: Build Clasp (ninja)
run: |
ninja -C build
- name: Run regression tests
run: |
ninja -C build test
- name: Run Cando regression tests
run: |
ninja -C build cando-test