Skip to content

Commit

Permalink
Added a workflow to build hw & sw for the rdma_perf example app
Browse files Browse the repository at this point in the history
  • Loading branch information
maximilianheer committed Nov 15, 2024
1 parent bd8a1ff commit f9adbe7
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/build_rdma.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Build RDMA

on:
pull_request:
branches:
- master

defaults:
run:
shell: bash -ileo pipefail {0}

jobs:
build_rdma_perf:
environment: fpga-synth
runs-on: [self-hosted, linux, x64]

steps:
- uses: actions/checkout@v3

- name: Compile hardware for rdma_perf example
run: |
source ~/.bashrc && vivado -version
mkdir examples_hw/build_rdma_perf && cd examples_hw/build_rdma_perf
cmake ../ -DFDEV_NAME=u55c -DEXAMPLE=rdma_perf
make project && make bitgen
- name: Compile software for RDMA-server
run: |
mkdir examples_sw/build_rdma_server && cd examples_sw/build_rdma_server
cmake ../ -DEXAMPLE=rdma_server
make
-name: Compile software for RDMA-client
run: |
mkdir examples_sw/build_rdma_client && cd examples_sw/build_rdma_client
cmake ../ -DEXAMPLE=rdma_client
make
- name: Artifact upload
uses: actions/upload-artifact@v3
with:
name: bitstream-rdma-perf
path: examples_hw/build_rdma_perf/bitstreams
retention-days: 3

0 comments on commit f9adbe7

Please sign in to comment.