Skip to content

Assorted fixes

Assorted fixes #271

Workflow file for this run

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-13
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-13'
run: |
brew install boost fmt gmp llvm 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@v3
- name: Install AmberTools
run: |
conda install -c conda-forge ambertools
- name: Build Cando (koga/Ubuntu)
if: matrix.os == 'ubuntu-22.04'
run: |
./koga --extensions=cando,seqan-clasp --skip-sync=cando
- name: Build Cando (koga/MacOS)
if: matrix.os == 'macos-13'
run: |
./koga --extensions=cando,seqan-clasp --skip-sync=cando
- 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