From 3162a8acb7a744233f486af94e4ad7843868117d Mon Sep 17 00:00:00 2001 From: Jean-Roland Gosse Date: Tue, 4 Jun 2024 13:55:36 +0200 Subject: [PATCH] ci: change raweth workflow (#416) --- .github/workflows/build-check.yaml | 32 ++++++++++++------------------ 1 file changed, 13 insertions(+), 19 deletions(-) diff --git a/.github/workflows/build-check.yaml b/.github/workflows/build-check.yaml index 1e2d7af1b..b372314fa 100644 --- a/.github/workflows/build-check.yaml +++ b/.github/workflows/build-check.yaml @@ -54,6 +54,19 @@ jobs: sudo apt install -y ninja-build FORCE_C99=ON CMAKE_GENERATOR=Ninja make + raweth_build: + name: Build raweth transport on ubuntu-latest + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Build raweth + run: | + sudo apt install -y ninja-build + Z_FEATURE_RAWETH_TRANSPORT=1 CMAKE_GENERATOR=Ninja make + + zenoh_build: name: Build Zenoh from source runs-on: ubuntu-latest @@ -115,25 +128,6 @@ jobs: if: always() run: kill ${{ steps.run-zenoh.outputs.zenohd-pid }} - raweth_build: - name: Build and test raweth transport on ubuntu-latest - runs-on: ubuntu-latest - strategy: - matrix: - feature_reth: [1, 0] - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Build project and run test - run: | - sudo apt install -y ninja-build - CMAKE_GENERATOR=Ninja make - python3 ./build/tests/raweth.py --reth $Z_FEATURE_RAWETH_TRANSPORT - timeout-minutes: 5 - env: - Z_FEATURE_RAWETH_TRANSPORT: ${{ matrix.feature_reth }} - st_build: needs: zenoh_build name: Build and test in single thread on ubuntu-latest