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
|
name: BEDOPS CI
on: [push, pull_request]
jobs:
build:
name: Build and test BEDOPS suite
runs-on: ${{ matrix.os }}
strategy:
matrix:
os : [ubuntu-latest, macos-10.15]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Ubuntu-specific setup
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get install -qq gcc-9 g++-9
sudo update-alternatives \
--install /usr/bin/gcc gcc /usr/bin/gcc-9 100
sudo update-alternatives \
--install /usr/bin/g++ g++ /usr/bin/g++-9 100
- name: Mac OS X-specific setup
if: matrix.os == 'macos-10.15'
env:
CC: clang
CXX: clang++
KERNEL: Darwin
run: |
env
- name: Build binaries
run: make all
- name: Install binaries
run: make install_all
|