-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (34 loc) · 976 Bytes
/
run_tests.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
name: C/C++ CI
on: [push]
jobs:
centos:
runs-on: ubuntu-latest
container:
image: centos/devtoolset-7-toolchain-centos7
options: -u root
steps:
- name: Install dependencies
run: |
yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install -y make boost-devel catch-devel readline-devel yaml-cpp-devel git
- name: Checkout
uses: actions/checkout@v2
- name: make junit
run: |
git clone https://github.com/gabime/spdlog.git
mv spdlog/include/spdlog include/
make
make junit || true
ubuntu:
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: |
sudo apt update -y
sudo apt install -y make g++ libboost-dev catch libreadline-dev libyaml-cpp-dev libspdlog-dev
- name: Checkout
uses: actions/checkout@v2
- name: make junit
run: |
make
make junit || true