-
Notifications
You must be signed in to change notification settings - Fork 2
44 lines (42 loc) · 1009 Bytes
/
cppCI.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
name: C++ CI
on:
workflow_dispatch:
inputs:
logLevel:
description: 'log level'
environment:
tags:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
jobs:
build:
runs-on: [ ubuntu-latest ]
env:
BOOST_URL: https://boostorg.jfrog.io/artifactory/main/release/1.78.0/source/boost_1_78_0.tar.gz
steps:
- uses: actions/checkout@v2
- name: install zlib
run:
sudo apt install zlib1g
- name: install boost package
run: |
sudo apt update
sudo apt install -y libboost-all-dev
- name: setup cmake
uses: jwlawson/[email protected]
with:
cmake-version: '3.16.3'
- name: build pepsirf_test
run: |
mkdir build
cd build
cmake --version
cmake -DCMAKE_BUILD_TYPE=Release ..
make pepsirf_test
- name: run pepsirf_test
run: |
cd build
./pepsirf_test
cp ../test/test_demux_output.tsv ../