-
Notifications
You must be signed in to change notification settings - Fork 1
executable file
·48 lines (39 loc) · 915 Bytes
/
c-cpp.yml
File metadata and controls
executable file
·48 lines (39 loc) · 915 Bytes
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
45
46
47
48
name: C/C++ CI
on:
push:
pull_request:
branches: [ sb-graph-dev ]
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
- name: Compiler.
run: cc --version
- name: Install deps.
run: |
sudo apt-get update
sudo apt-get install libboost1.83-dev
sudo apt-get install libboost-program-options-dev
sudo apt-get install cmake
sudo apt-get install g++
sudo apt-get install rapidjson-dev
- name: Create build folder.
working-directory: ./
run: |
mkdir -p build
- name: Configure
working-directory: ./build
run: |
cmake ..
- name: Build
working-directory: ./build
run: |
make
- name: Install
working-directory: ./build
run: |
make install
- name: Tests
working-directory: ./build
run: make test