aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2021-05-05 13:40:37 +0300
committerMatias Elo <matias.elo@nokia.com>2021-05-11 10:22:33 +0300
commit33d5dc1e54e39ac7417ce34962f3ec4cb234cff3 (patch)
treedec0aba7f18d70e754903ffa84d73843d5c37982 /.github
parent5f7e3e705edf0bbc818e84243a943aae867d0a52 (diff)
github_ci: sync test naming scheme with arm64 workflow
There is no need to repeat x86_64 in test names since the whole workflow is only run on x86. Also, shorter test names won't get cut as easily in the GitHub UI. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci-pipeline-arm64.yml2
-rw-r--r--.github/workflows/ci-pipeline.yml24
2 files changed, 12 insertions, 14 deletions
diff --git a/.github/workflows/ci-pipeline-arm64.yml b/.github/workflows/ci-pipeline-arm64.yml
index 5d8b15253..560837b4c 100644
--- a/.github/workflows/ci-pipeline-arm64.yml
+++ b/.github/workflows/ci-pipeline-arm64.yml
@@ -1,4 +1,4 @@
-name: Arm64 CI
+name: CI arm64
# github.repository has been used to ensure CI is only run on the repo where
# self-hosted runners are installed. This will prevent [self-hosted, ARM64] CI failing on forks
diff --git a/.github/workflows/ci-pipeline.yml b/.github/workflows/ci-pipeline.yml
index c25669948..a6681a14c 100644
--- a/.github/workflows/ci-pipeline.yml
+++ b/.github/workflows/ci-pipeline.yml
@@ -1,4 +1,4 @@
-name: CI
+name: CI x86_64
on: [push, pull_request]
env:
@@ -58,15 +58,14 @@ jobs:
make doxygen-doc 2>&1 | tee ./doxygen.log
! fgrep -rq warning ./doxygen.log
- Build_x86_64:
+ Build:
runs-on: ubuntu-18.04
- env:
- ARCH: x86_64
strategy:
fail-fast: false
matrix:
cc: [gcc, clang]
- conf: ['', 'CFLAGS=-O3', 'CFLAGS=-O1', 'CFLAGS=-O0 --enable-debug=full', '--enable-lto', '--enable-lto --enable-abi-compat', '--enable-pcapng-support']
+ conf: ['', 'CFLAGS=-O3', 'CFLAGS=-O1', 'CFLAGS=-O0 --enable-debug=full', '--enable-lto',
+ '--enable-lto --enable-abi-compat', '--enable-pcapng-support']
exclude:
- cc: clang
conf: '--enable-lto'
@@ -164,8 +163,6 @@ jobs:
Build_OS:
runs-on: ubuntu-18.04
- env:
- ARCH: x86_64
strategy:
fail-fast: false
matrix:
@@ -180,7 +177,6 @@ jobs:
Build_gcc-10:
runs-on: ubuntu-18.04
env:
- ARCH: x86_64
CC: gcc-10
OS: ubuntu_20.04
strategy:
@@ -233,15 +229,16 @@ 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_x86_64:
+ Run:
runs-on: ubuntu-18.04
- env:
- ARCH: x86_64
strategy:
fail-fast: false
matrix:
cc: [gcc, clang]
- conf: ['', '--enable-abi-compat', '--enable-deprecated --enable-debug=full', '--enable-dpdk-zero-copy --disable-static-applications', '--disable-host-optimization', '--disable-host-optimization --enable-abi-compat', '--without-openssl --without-pcap']
+ conf: ['', '--enable-abi-compat', '--enable-deprecated --enable-debug=full',
+ '--enable-dpdk-zero-copy --disable-static-applications',
+ '--disable-host-optimization', '--disable-host-optimization --enable-abi-compat',
+ '--without-openssl --without-pcap']
steps:
- uses: actions/checkout@v2
- run: sudo docker run -i -v `pwd`:/odp --privileged --shm-size 8g -e CC="${{matrix.cc}}" -e ARCH="${ARCH}"
@@ -330,7 +327,8 @@ jobs:
fail-fast: false
matrix:
cc: [gcc, clang]
- conf: ['--with-netmap-path=/odp/netmap', '--with-netmap-path=/odp/netmap --disable-static-applications']
+ conf: ['--with-netmap-path=/odp/netmap',
+ '--with-netmap-path=/odp/netmap --disable-static-applications']
steps:
- uses: actions/checkout@v2
- name: Install dependencies