Skip to content

Commit

Permalink
PF ports adjustment for CiCd runner
Browse files Browse the repository at this point in the history
PF ports adjustment for CiCd runner

Signed-off-by: Milosz Linkiewicz <[email protected]>
  • Loading branch information
Mionsz committed Jan 30, 2025
1 parent 375536a commit b4d2509
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/ubuntu_build_with_gtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ env:
# Customize the env if
BUILD_TYPE: Release
DPDK_VERSION: 23.11
TEST_PF_PORT_P: 0000:af:00.0
TEST_PF_PORT_R: 0000:af:00.0
TEST_PORT_P: 0000:af:01.2
TEST_PORT_R: 0000:af:01.3
TEST_PF_PORT_P: "0000:49:00.0"
TEST_PF_PORT_R: "0000:49:00.0"
TEST_PORT_P: "0000:49:01.2"
TEST_PORT_R: "0000:49:01.3"
TEST_DMA_PORT_P: 0000:80:04.0
TEST_DMA_PORT_R: 0000:80:04.1

Expand All @@ -39,7 +39,7 @@ jobs:
changed: ${{ steps.filter.outputs.linux_gtest == 'true' }}
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6

- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v2
id: filter
with:
Expand All @@ -57,7 +57,7 @@ jobs:
with:
egress-policy: audit

- name: Checkout IMTL
- name: Checkout MTL
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6

- name: Checkout DPDK
Expand All @@ -74,8 +74,7 @@ jobs:
- name: Apply dpdk patches
run: |
cd dpdk
git am ../patches/dpdk/${{ env.DPDK_VERSION }}/*.patch
patch -d "dpdk" -p1 -i <(cat patches/dpdk/${{ env.DPDK_VERSION }}/*.patch)
- name: Build dpdk
run: |
Expand Down Expand Up @@ -147,4 +146,4 @@ jobs:
- name: Run st2110 st20p test case with kernel loopback
run: |
./build/tests/KahawaiTest --p_port kernel:lo --r_port kernel:lo --auto_start_stop --gtest_filter=St20p*
./build/tests/KahawaiTest --p_port kernel:lo --r_port kernel:lo --auto_start_stop --gtest_filter=St20p*

0 comments on commit b4d2509

Please sign in to comment.