Skip to content

Commit

Permalink
Add CI job
Browse files Browse the repository at this point in the history
  • Loading branch information
kkorotkov committed Oct 17, 2022
1 parent 3a10df5 commit e80617c
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @Labs64/labs64-dev
34 changes: 34 additions & 0 deletions .github/workflows/netlicesning-client-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# This workflow will build a C++ project with CMake, currently only on Ubuntu 22.04 / default GNU C++

name: NetLicensing Client - CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:

jobs:
build:
runs-on: [self-hosted]
container: ubuntu:22.04

steps:
- uses: actions/checkout@v2
- name: Upgrade default packages
run: |
apt-get update
apt-get upgrade -y
- name: Install required dependencies
run: apt-get install -y git g++ cmake libcurl4-openssl-dev
- name: Build with CMake
run: |
mkdir build
cd build
cmake ..
make
- name: Run Demo App
run: |
cd build
./netlicensing-client-demo
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

[![Build Status](https://travis-ci.org/Labs64/NetLicensingClient-cpp.svg?branch=master)](https://travis-ci.org/Labs64/NetLicensingClient-cpp)
[![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)
[![Apache License 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/Labs64/NetLicensingClient-cpp/blob/master/LICENSE)
[![📖 Documentation](https://img.shields.io/badge/📖%20Documentation-Wiki-AB6543.svg)](https://netlicensing.io/wiki/restful-api)
[![NetLicensing @ LinkedIn](https://img.shields.io/badge/NetLicensing-0077B5.svg?logo=LinkedIn)](https://www.linkedin.com/showcase/netlicensing)
Expand Down

0 comments on commit e80617c

Please sign in to comment.