Skip to content

Commit

Permalink
workflow: add build test for FH8626V100
Browse files Browse the repository at this point in the history
Signed-off-by: Alex.Li <zhiqinli@amazon.com>
  • Loading branch information
codingspirit committed Apr 22, 2022
1 parent 9ba0393 commit d55d593
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,33 @@ jobs:

- name: Test
run: ctest -C ${{ env.BUILD_TYPE }}

fullhan:
environment: ECR
needs: ecr-prepare
runs-on: ubuntu-latest
strategy:
matrix:
container: [ "482862934379.dkr.ecr.us-east-1.amazonaws.com/fullhan:6.5.0" ]
container:
image: ${{ matrix.container }}
credentials:
username: ${{ secrets.ECR_USERNAME }}
password: ${{ secrets.ECR_PASSWORD }}

steps:
- name: Git checkout
uses: actions/checkout@v2

- name: Prepare board SDK
run: |
cp -r /FH8626V100/* ${GITHUB_WORKSPACE}/3rdparty/FH8626V100/
- name: Configure CMake
run: cmake -B ${{ github.workspace }}/build -DBOARD=FH8626V100 -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} -DBUILD_WEBRTC_SAMPLES=ON -DBUILD_KVS_SAMPLES=ON -DBUILD_SAVE_FRAME_SAMPLES=ON

- name: Build
run: cmake --build ${{ github.workspace }}/build --config ${{ env.BUILD_TYPE }} --parallel 4

- name: Test
run: ctest -C ${{ env.BUILD_TYPE }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
3rdparty/T31/
3rdparty/V4L2/
3rdparty/FH8626V100/
build/

0 comments on commit d55d593

Please sign in to comment.