diff options
-rw-r--r-- | .github/workflows/ci-pipeline.yml | 11 | ||||
-rw-r--r-- | platform/linux-dpdk/test/alternate-timer.conf | 8 |
2 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/ci-pipeline.yml b/.github/workflows/ci-pipeline.yml index 84d056d3e..47e8deb1f 100644 --- a/.github/workflows/ci-pipeline.yml +++ b/.github/workflows/ci-pipeline.yml @@ -268,6 +268,17 @@ jobs: if: ${{ failure() }} run: find . -name "*.trs" | xargs grep -l '^.test-result. FAIL' | while read trs ; do echo FAILURE detected at $trs; cat ${trs%%.trs}.log ; done + Run_alternate_timer: + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@v2 + - run: sudo docker run -i -v `pwd`:/odp --privileged --shm-size 8g -e CC="${CC}" -e ARCH="${ARCH}" + -e ODP_CONFIG_FILE=/odp/platform/linux-dpdk/test/alternate-timer.conf + -e CONF="${CONF}" $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH} /odp/scripts/ci/check.sh + - name: Failure log + if: ${{ failure() }} + run: find . -name "*.trs" | xargs grep -l '^.test-result. FAIL' | while read trs ; do echo FAILURE detected at $trs; cat ${trs%%.trs}.log ; done + Run_dpdk-20_11: runs-on: ubuntu-18.04 env: diff --git a/platform/linux-dpdk/test/alternate-timer.conf b/platform/linux-dpdk/test/alternate-timer.conf new file mode 100644 index 000000000..079409f1f --- /dev/null +++ b/platform/linux-dpdk/test/alternate-timer.conf @@ -0,0 +1,8 @@ +# Mandatory fields +odp_implementation = "linux-dpdk" +config_file_version = "0.1.14" + +timer: { + # Enable alternate DPDK timer implementation + alternate = 1 +} |