-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml-workflow for building rdma_perf app (#93)
Added a workflow to build hw & sw for the rdma_perf example app
- Loading branch information
1 parent
3471440
commit 48572ba
Showing
4 changed files
with
48 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
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 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Compile hardware for rdma_perf example | ||
run: | | ||
mkdir examples_hw/build_rdma_perf && cd examples_hw/build_rdma_perf | ||
cmake ../ -DFDEV_NAME=u55c -DEXAMPLE=rdma_perf -DEN_XTERM=0 | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule network
updated
35 files