Skip to content

Commit a441e79

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

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
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 update
22+
apt upgrade -y
23+
- name: Install required dependencies
24+
run: apt 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

0 commit comments

Comments
 (0)