diff options
author | Malvika Gupta <Malvika.Gupta@arm.com> | 2021-09-30 09:00:09 -0500 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2021-10-04 09:13:02 +0300 |
commit | aae0867ae28c6c7b643fdf7509046125266ccec0 (patch) | |
tree | 0bb18a241ba9d5cb0113948b8346e499218e5473 /.github/workflows/ci-pipeline-arm64.yml | |
parent | 9e00627234c1d6e29073306ed80723cd1229f23f (diff) |
github_ci: add tests for Armv8-a and Armv8.2-a ISA
Add cross-compilation and native job for ARMv8-a with LSE extensions to
enable atomic_fetch_add performance optimizations. In addition, jobs have
been added for Armv8.2-a ISA to execute lockless 128-bit atomic APIs.
Signed-off-by: Malvika Gupta <Malvika.Gupta@arm.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
Diffstat (limited to '.github/workflows/ci-pipeline-arm64.yml')
-rw-r--r-- | .github/workflows/ci-pipeline-arm64.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/ci-pipeline-arm64.yml b/.github/workflows/ci-pipeline-arm64.yml index ec7268463..68e51f090 100644 --- a/.github/workflows/ci-pipeline-arm64.yml +++ b/.github/workflows/ci-pipeline-arm64.yml @@ -108,6 +108,23 @@ 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_CFLAGS: + if: ${{ github.repository == 'OpenDataPlane/odp' }} + runs-on: [self-hosted, ARM64] + strategy: + fail-fast: false + matrix: + cc: [gcc, clang] + cflags: ['-march=armv8.2-a -O2', '-march=armv8-a+lse -O2'] + steps: + - uses: AutoModality/action-clean@v1.1.0 + - uses: actions/checkout@v2 + - run: sudo docker run -i -v `pwd`:/odp --privileged --shm-size 8g -e CC="${{matrix.cc}}" -e ARCH="${ARCH}" + -e CXX=g++-10 -e CFLAGS="${{matrix.cflags}}" $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH}-native /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_OS: if: ${{ github.repository == 'OpenDataPlane/odp' }} |