Skip to content

Commit

Permalink
actions: Add pisp HW verification test
Browse files Browse the repository at this point in the history
Signed-off-by: Naushir Patuck <[email protected]>
  • Loading branch information
naushir committed Nov 3, 2023
1 parent c0af289 commit f038a38
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/pisp-verification.test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: pisp verification tests

on:
workflow_dispatch:

pull_request:
branches: [ main ]

env:
BE_TEST_DIR: "${{github.workspace}}/../be_test"
LKG_DIR: "${{github.workspace}}/../lkg"
TESTS_DIR: "/home/pi/pisp_tests"

jobs:
build-test:

runs-on: [ self-hosted, pi5 ]

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
clean: true

- name: Configure meson
run: meson setup build -Dbuildtype=debug
timeout-minutes: 5

- name: Build
run: ninja -C build
timeout-minutes: 10

build-test:

runs-on: [ self-hosted, pi5 ]
needs: build-test

steps:
- name: Run verification tests
run: LD_LIBRARY_PATH=${{github.workspace}}/build/src ${{env.BE_TEST_DIR}}/run_be_tests --hw --test ${{env.BE_TEST_DIR}} ${{env.TESTS_DIR}}
timeout-minutes: 20

0 comments on commit f038a38

Please sign in to comment.