Skip to content

Commit 037009d

Browse files
committed
Add a .github workflow to build with CMake on Ubuntu
1 parent cfdb065 commit 037009d

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

.github/workflows/main.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: build
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v1
12+
- name: Submodule SQLiteCpp
13+
run: |
14+
git submodule init
15+
git submodule update
16+
- name: CMake generate & build
17+
run: |
18+
mkdir -p build
19+
cd build
20+
cmake ..
21+
cmake --build .

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
SQLiteC++
22
---------
33

4+
[![release](https://img.shields.io/github/release/SRombauts/SQLiteCpp.svg)](https://github.com/SRombauts/SQLiteCpp/releases)
5+
[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/SRombauts/SQLiteCpp/blob/master/LICENSE.txt)
6+
[![GitHub Actions Build status](https://github.com/SRombauts/SQLiteCpp_Example/workflows/build/badge.svg)](https://github.com/SRombauts/SQLiteCpp_Example/actions "GitHhub Actions Build status")
7+
48
[SQLiteC++ (SQLiteCpp)](https://github.com/SRombauts/SQLiteCpp) is a smart and easy to use C++ SQLite3 wrapper.
59

610
[See SQLiteC++ website on GitHub](http://srombauts.github.com/SQLiteCpp).

0 commit comments

Comments
 (0)