aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci-pipeline.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ci-pipeline.yml')
-rw-r--r--.github/workflows/ci-pipeline.yml22
1 files changed, 12 insertions, 10 deletions
diff --git a/.github/workflows/ci-pipeline.yml b/.github/workflows/ci-pipeline.yml
index f21f85a03..c3109ff2c 100644
--- a/.github/workflows/ci-pipeline.yml
+++ b/.github/workflows/ci-pipeline.yml
@@ -29,7 +29,7 @@ jobs:
run: |
AFTER=${{ github.event.after }}
BEFORE=${{ github.event.before }}
- if [ -z "${BEFORE}" ] || [ -z "${AFTER}" ]; then
+ if [ -z "${BEFORE//0}" ] || [ -z "${AFTER//0}" ]; then
COMMIT_RANGE=""
else
COMMIT_RANGE="${BEFORE}..${AFTER}"
@@ -66,12 +66,12 @@ jobs:
fail-fast: false
matrix:
cc: [gcc, clang]
- conf: ['', 'CFLAGS=-O3', 'CFLAGS=-O1', 'CFLAGS=-O0 --enable-debug=full', '--enable-lto', '--enable-lto --disable-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'
- cc: clang
- conf: '--enable-lto --disable-abi-compat'
+ conf: '--enable-lto --enable-abi-compat'
steps:
- uses: actions/checkout@v2
- run: sudo docker run -i -v `pwd`:/odp --privileged --shm-size 8g -e CC="${{matrix.cc}}"
@@ -92,9 +92,9 @@ jobs:
run: sudo docker run -i -v `pwd`:/odp --privileged --shm-size 8g -e CC="${{matrix.cc}}"
-e CONF="${CONF}" $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH} /odp/scripts/ci/build_${ARCH}.sh
- - name: --disable-abi-compat
+ - name: --enable-abi-compat
env:
- CONF: "--disable-abi-compat"
+ CONF: "--enable-abi-compat"
run: sudo docker run -i -v `pwd`:/odp --privileged --shm-size 8g -e CC="${{matrix.cc}}"
-e CONF="${CONF}" $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH} /odp/scripts/ci/build_${ARCH}.sh
@@ -112,7 +112,8 @@ jobs:
strategy:
fail-fast: false
matrix:
- conf: ['', '--disable-abi-compat']
+ cc: [gcc, clang]
+ conf: ['', '--enable-abi-compat']
steps:
- uses: actions/checkout@v2
- run: sudo docker run -i -v `pwd`:/odp --privileged --shm-size 8g -e CC="${CC}"
@@ -126,7 +127,7 @@ jobs:
fail-fast: false
matrix:
cc: [gcc, clang]
- conf: ['', '--disable-abi-compat']
+ conf: ['', '--enable-abi-compat']
steps:
- uses: actions/checkout@v2
- run: sudo docker run -i -v `pwd`:/odp --privileged --shm-size 8g -e CC="${{matrix.cc}}"
@@ -141,10 +142,11 @@ jobs:
matrix:
cc: [gcc, clang]
os: ['centos_7', 'centos_8', 'ubuntu_16.04']
+ conf: ['--enable-abi-compat']
steps:
- uses: actions/checkout@v2
- run: sudo docker run -i -v `pwd`:/odp --privileged --shm-size 8g -e CC="${{matrix.cc}}"
- -e CONF="${CONF}" $CONTAINER_NAMESPACE/odp-ci-${{matrix.os}}-${ARCH} /odp/scripts/ci/build_${ARCH}.sh
+ -e CONF="${{matrix.conf}}" $CONTAINER_NAMESPACE/odp-ci-${{matrix.os}}-${ARCH} /odp/scripts/ci/build_${ARCH}.sh
Build_gcc-10:
runs-on: ubuntu-18.04
@@ -202,7 +204,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- conf: ['--enable-user-guides', '--enable-user-guides --disable-abi-compat']
+ conf: ['--enable-user-guides', '--enable-user-guides --enable-abi-compat']
steps:
- uses: actions/checkout@v2
# Ignore distcheck failure (caused by the first 'make check' run unmounting huge pages)
@@ -220,7 +222,7 @@ jobs:
fail-fast: false
matrix:
cc: [gcc, clang]
- conf: ['', '--disable-abi-compat', '--enable-deprecated', '--disable-static-applications', '--disable-host-optimization', '--disable-host-optimization --disable-abi-compat', '--without-openssl --without-pcap']
+ conf: ['', '--enable-abi-compat', '--enable-deprecated', '--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}}"