Skip to content

Remove python27 checks (#255) #45

Remove python27 checks (#255)

Remove python27 checks (#255) #45

# This file based on https://gist.github.com/mwouts/9842452d020c08faf9e84a3bba38a66f
# See: https://help.github.com/en/actions/reference/software-installed-on-github-hosted-runners
# 2020-06-22 - slg - customized
# 2020-06-27 - slg - expanded to G++ for MacOS
# 2020-07-03 - slg - ported to be13_api; removed python (be13_api doesn't use python)
name: BE13_API CI (c++14)
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ['ubuntu-20.04']
steps:
# https://github.com/actions/checkout
- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive
- name: Install C++ dependencies on MacOS
if: startsWith(matrix.os, 'macOS')
run: |
bash etc/install_autotools.sh
- name: Install C++ dependencies on Ubuntu
if: startsWith(matrix.os, 'ubuntu')
run: |
sudo apt install libtool autoconf automake g++ libboost-all-dev libssl-dev libpcap-dev libcairo2-dev
automake --help
- name: c/c++ test
run: |
bash bootstrap.sh
./configure && make && make check
- uses: ammaraskar/gcc-problem-matcher@0.1
name: GCC Problem Matcher
- name: codecov report
if: startsWith(matrix.os, 'ubuntu')
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: |
bash .make-codecov