-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Github workflow file that will ensure that secapi2-adapter is able to be built using the reference tasecureapi implementation.
- Loading branch information
1 parent
2d158bc
commit 823394a
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |