-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
68 additions
and
0 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,68 @@ | ||
# A work-flow for compiling the Coyote software examples; for now, we are testing on Ubuntu 20.04 | ||
# This checks no extreme breaking changes were done in the examples & software, i.e. at least it compiles | ||
name: Compile software | ||
|
||
# Run on every push, makes dev and PR reviews easier | ||
on: push | ||
|
||
jobs: | ||
compile-software: | ||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
# Create the folder for builds | ||
- name: Create directory | ||
run: | ||
mkdir examples_sw/build && pwd && ls && ls examples_sw/ | ||
|
||
# kmeans | ||
- name: Compile kmeans | ||
run: | ||
ls examples_sw && rm examples_sw/build/* && cd examples_sw/build && cmake ../ -DEXAMPLE=kmeans -DVERBOSITY=ON && make | ||
|
||
# Multi-threading | ||
- name: Compile multi-threading | ||
run: | ||
rm examples_sw/build/* && cd examples_sw/build && cmake ../ -DEXAMPLE=multithreading -DVERBOSITY=ON && make | ||
|
||
# Perf FPGA | ||
- name: Compile perf FPGA | ||
run: | ||
rm examples_sw/build/* && cd examples_sw/build && cmake ../ -DEXAMPLE=perf_fpga -DVERBOSITY=ON && make | ||
|
||
# Perf local | ||
- name: Compile perf local | ||
run: | ||
rm examples_sw/build/* && cd examples_sw/build && cmake ../ -DEXAMPLE=perf_local -DVERBOSITY=ON && make | ||
|
||
# Reconfigure shell | ||
- name: Compile reconfigure shell | ||
run: | ||
rm examples_sw/build/* && cd examples_sw/build && cmake ../ -DEXAMPLE=reconfigure_shell -DVERBOSITY=ON && make | ||
|
||
# Streaming client | ||
- name: Compile streaming client | ||
run: | ||
rm examples_sw/build/* && cd examples_sw/build && cmake ../ -DEXAMPLE=streaming_client -DVERBOSITY=ON && make | ||
|
||
# Streaming server | ||
- name: Compile streaming server | ||
run: | ||
rm examples_sw/build/* && cd examples_sw/build && cmake ../ -DEXAMPLE=streaming_server -DVERBOSITY=ON && make | ||
|
||
# TCP | ||
- name: Compile TCP benchmark | ||
run: | ||
rm examples_sw/build/* && cd examples_sw/build && cmake ../ -DEXAMPLE=tcp_iperf -DVERBOSITY=ON && make | ||
|
||
# RDMA client | ||
- name: Compile RDMA client | ||
run: | ||
rm examples_sw/build/* && cd examples_sw/build && cmake ../ -DEXAMPLE=rdma_client -DVERBOSITY=ON && make | ||
|
||
# RDMA server | ||
- name: Compile RDMA server | ||
run: | ||
rm examples_sw/build/* && cd examples_sw/build && cmake ../ -DEXAMPLE=rdma_server -DVERBOSITY=ON && make |