Skip to content

Commit

Permalink
Temporarily commented out TestCCentOS job in test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SrikanthPagadarai authored Jul 9, 2024
1 parent e58d34c commit 06823a6
Showing 1 changed file with 35 additions and 35 deletions.
70 changes: 35 additions & 35 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,41 +51,41 @@ jobs:
name: ${{ matrix.label }}-Build
path: libs/

TestCCentOS:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
images: ["tfcollins/libiio_centos_7-ci:latest"]

container:
image: ${{ matrix.images }}
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
bash ./.github/scripts/install_dependencies_rhel.sh
- name: Build and test
run: |
mkdir -p build
cd build
source scl_source enable devtoolset-7 && cmake -DBUILD_TESTS_EXAMPLES=ON ..
make -j4
make test ARGS="-VV"
cd ..
mkdir -p libs
cp build/bindings/c/src/libgenalyzer.so* libs/
cp build/src/libgenalyzer_plus_plus.a* libs/
cp bindings/c/include/cgenalyzer.h libs/
cp bindings/c/include/cgenalyzer_advanced.h libs/
cp bindings/matlab/genalyzer.m libs/
- name: Archive generated SOs
uses: actions/upload-artifact@v2
with:
name: RHEL_7-Build
path: libs/
# TestCCentOS:
# runs-on: ubuntu-latest
# strategy:
# fail-fast: false
# matrix:
# images: ["tfcollins/libiio_centos_7-ci:latest"]

# container:
# image: ${{ matrix.images }}
# steps:
# - uses: actions/checkout@v2
# - name: Install dependencies
# run: |
# bash ./.github/scripts/install_dependencies_rhel.sh

# - name: Build and test
# run: |
# mkdir -p build
# cd build
# source scl_source enable devtoolset-7 && cmake -DBUILD_TESTS_EXAMPLES=ON ..
# make -j4
# make test ARGS="-VV"
# cd ..
# mkdir -p libs
# cp build/bindings/c/src/libgenalyzer.so* libs/
# cp build/src/libgenalyzer_plus_plus.a* libs/
# cp bindings/c/include/cgenalyzer.h libs/
# cp bindings/c/include/cgenalyzer_advanced.h libs/
# cp bindings/matlab/genalyzer.m libs/

# - name: Archive generated SOs
# uses: actions/upload-artifact@v2
# with:
# name: RHEL_7-Build
# path: libs/

CoverageTest:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 06823a6

Please sign in to comment.