-
Notifications
You must be signed in to change notification settings - Fork 69
45 lines (37 loc) · 1.11 KB
/
build_rdma.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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