-
Notifications
You must be signed in to change notification settings - Fork 8
35 lines (31 loc) · 888 Bytes
/
ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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