Skip to content

Commit e80617c

Browse files
committed
Add CI job
1 parent 3a10df5 commit e80617c

File tree

3 files changed

+36
-1
lines changed

3 files changed

+36
-1
lines changed

.github/CODEOWNERS

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @Labs64/labs64-dev
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# This workflow will build a C++ project with CMake, currently only on Ubuntu 22.04 / default GNU C++
2+
3+
name: NetLicensing Client - CI
4+
5+
on:
6+
push:
7+
branches: [ master ]
8+
pull_request:
9+
branches: [ master ]
10+
workflow_dispatch:
11+
12+
jobs:
13+
build:
14+
runs-on: [self-hosted]
15+
container: ubuntu:22.04
16+
17+
steps:
18+
- uses: actions/checkout@v2
19+
- name: Upgrade default packages
20+
run: |
21+
apt-get update
22+
apt-get upgrade -y
23+
- name: Install required dependencies
24+
run: apt-get install -y git g++ cmake libcurl4-openssl-dev
25+
- name: Build with CMake
26+
run: |
27+
mkdir build
28+
cd build
29+
cmake ..
30+
make
31+
- name: Run Demo App
32+
run: |
33+
cd build
34+
./netlicensing-client-demo

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# [Labs64 NetLicensing](https://netlicensing.io) Client (C++)
44

5-
[![Build Status](https://travis-ci.org/Labs64/NetLicensingClient-cpp.svg?branch=master)](https://travis-ci.org/Labs64/NetLicensingClient-cpp)
5+
[![Build Status](https://github.com/Labs64/NetLicensingClient-cpp/actions/workflows/netlicesning-client-ci.yml/badge.svg?branch=master)](https://github.com/Labs64/NetLicensingClient-cpp/actions/workflows/netlicesning-client-ci.yml)
66
[![Apache License 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/Labs64/NetLicensingClient-cpp/blob/master/LICENSE)
77
[![📖 Documentation](https://img.shields.io/badge/📖%20Documentation-Wiki-AB6543.svg)](https://netlicensing.io/wiki/restful-api)
88
[![NetLicensing @ LinkedIn](https://img.shields.io/badge/NetLicensing-0077B5.svg?logo=LinkedIn)](https://www.linkedin.com/showcase/netlicensing)

0 commit comments

Comments
 (0)