From b41b89eeec97e430c45e02e95c4baf1fa9efc0b7 Mon Sep 17 00:00:00 2001 From: Bob Chen Date: Mon, 2 Sep 2024 10:11:03 +0800 Subject: [PATCH] add fstack CI (#549) --- .github/workflows/ci.linux.x86_64.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/ci.linux.x86_64.yml b/.github/workflows/ci.linux.x86_64.yml index 14016874..8f47f894 100644 --- a/.github/workflows/ci.linux.x86_64.yml +++ b/.github/workflows/ci.linux.x86_64.yml @@ -171,3 +171,16 @@ jobs: export PHOTON_CI_EV_ENGINE=epoll_ng ctest -E test-lockfree --timeout 3600 -V + fstack: + runs-on: ubuntu-latest + container: + image: ghcr.io/beef9999/photon-ut-fstack:latest + options: --cpus 4 --privileged + steps: + - uses: actions/checkout@v4 + - name: Build on FStack-DPDK + run: | + cmake -B build -D CMAKE_BUILD_TYPE=MinSizeRel \ + -D PHOTON_BUILD_TESTING=ON \ + -D PHOTON_ENABLE_FSTACK_DPDK=ON + cmake --build build -j $(nproc) -t fstack-dpdk-demo