Skip to content

Commit

Permalink
WIP: github_ci: test non-ML jobs with ML container
Browse files Browse the repository at this point in the history
Signed-off-by: Jere Leppänen <[email protected]>
  • Loading branch information
JereLeppanen committed Jan 15, 2024
1 parent 97d8238 commit 2ddef01
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ env:
CC: gcc
CONTAINER_NAMESPACE: ghcr.io/opendataplane/odp-docker-images
OS: ubuntu_20.04
ML_CONTAINER: ghcr.io/jereleppanen/odp-docker-images/odp-ci-ubuntu_22.04-x86_64:ml

jobs:
Checkpatch:
Expand Down Expand Up @@ -127,7 +128,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: sudo docker run -i -v `pwd`:/odp --privileged --shm-size 8g -e CC="gcc-${{matrix.cc_ver}}" -e CXX="g++-${{matrix.cc_ver}}"
-e CONF="${CONF} ${{matrix.conf}}" $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH} /odp/scripts/ci/build_static.sh
-e CONF="${CONF} ${{matrix.conf}}" $ML_CONTAINER /odp/scripts/ci/build_static.sh
- if: ${{ failure() }}
uses: ./.github/actions/build-failure-log

Expand Down Expand Up @@ -258,7 +259,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: sudo docker run -i -v `pwd`:/odp --privileged --shm-size 8g -e CC="gcc-${{matrix.cc_ver}}" -e CXX="g++-${{matrix.cc_ver}}"
-e CONF="${{matrix.conf}}" $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH} /odp/scripts/ci/build_${ARCH}.sh
-e CONF="${{matrix.conf}}" $ML_CONTAINER /odp/scripts/ci/build_${ARCH}.sh
- if: ${{ failure() }}
uses: ./.github/actions/build-failure-log

Expand All @@ -283,7 +284,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- 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
-e CONF="${CONF}" $ML_CONTAINER /odp/scripts/ci/build_${ARCH}.sh
- if: ${{ failure() }}
uses: ./.github/actions/build-failure-log

Expand Down Expand Up @@ -349,7 +350,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: sudo docker run -i -v `pwd`:/odp --privileged --shm-size 8g -e CC="${{matrix.cc}}" -e ARCH="${ARCH}"
-e CONF="${CONF}" $CONTAINER_NAMESPACE/odp-ci-${{matrix.os}}-${ARCH} /odp/scripts/ci/check.sh
-e CONF="${CONF}" $ML_CONTAINER /odp/scripts/ci/check.sh
- if: ${{ failure() }}
uses: ./.github/actions/run-failure-log

Expand Down

0 comments on commit 2ddef01

Please sign in to comment.