Skip to content

Commit

Permalink
Added CI workflow (#50)
Browse files Browse the repository at this point in the history
Added Github workflow file that will ensure that secapi2-adapter is able to be built using the reference tasecureapi implementation.
  • Loading branch information
StefanBossbaly authored Oct 9, 2023
1 parent 2d158bc commit 823394a
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: ci

on: [push, pull_request]

jobs:
core:
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- name: Install YAJL
run: sudo apt-get install -y libyajl-dev
continue-on-error: true
- name: Install OpenSSL
run: sudo apt-get install -y libssl-dev
- name: Install Reference tasecureapi Implementation
run: |
git clone https://github.com/rdkcentral/tasecureapi.git tasecureapi
cd tasecureapi
cmake -S reference -B reference/cmake-build
cmake --build reference/cmake-build
sudo cmake --install reference/cmake-build
- name: Config
run: >-
cmake
-S .
-B cmake-build
- name: Build
run: cmake --build cmake-build
- name: Install
run: sudo cmake --install cmake-build

0 comments on commit 823394a

Please sign in to comment.