Skip to content

Commit

Permalink
build: run modular test in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-roland committed Oct 30, 2023
1 parent 9ab0b7c commit 4b1aa50
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/build-shared.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,27 @@ jobs:
feature_queryable: [1, 0]
feature_query: [1, 0]
steps:
- uses: actions/checkout@v2
- name: Checkout code
uses: actions/checkout@v2

- name: Run docker image
run: docker run --name zenoh_router --init --net host -d eclipse/zenoh:master
continue-on-error: true

- name: Build project
run: make all
run: |
make all
./build/tests/z_modular_test $Z_FEATURE_PUBLICATION $Z_FEATURE_SUBSCRIPTION $Z_FEATURE_QUERYABLE $Z_FEATURE_QUERY
continue-on-error: true
env:
BUILD_TYPE: Debug
ZENOH_DEBUG: 3
Z_FEATURE_PUBLICATION: ${{ matrix.feature_publication }}
Z_FEATURE_SUBSCRIPTION: ${{ matrix.feature_subscription }}
Z_FEATURE_QUERYABLE: ${{ matrix.feature_queryable }}
Z_FEATURE_QUERY: ${{ matrix.feature_query }}
Z_FEATURE_QUERY: ${{ matrix.feature_query }}

- name: Stop docker image
run: |
docker stop zenoh_router
docker rm zenoh_router

0 comments on commit 4b1aa50

Please sign in to comment.