From d55d5933d2b6dac917414083420167608fea4443 Mon Sep 17 00:00:00 2001 From: "Alex.Li" Date: Fri, 22 Apr 2022 06:33:16 +0000 Subject: [PATCH] workflow: add build test for FH8626V100 Signed-off-by: Alex.Li --- .github/workflows/main.yml | 30 ++++++++++++++++++++++++++++++ .gitignore | 1 + 2 files changed, 31 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a0fddc0..a69b19d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 }} diff --git a/.gitignore b/.gitignore index 7b3f150..347f4bd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ 3rdparty/T31/ 3rdparty/V4L2/ +3rdparty/FH8626V100/ build/