Skip to content

Commit

Permalink
Merge branch 'master' into max_dev
Browse files Browse the repository at this point in the history
  • Loading branch information
bo3z authored Nov 14, 2024
2 parents 1a4cb53 + 779225a commit 57367c6
Show file tree
Hide file tree
Showing 15,184 changed files with 323 additions and 2,344,248 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
38 changes: 38 additions & 0 deletions .github/workflows/build_docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# A work-flow for generating documentation given a PR
# Builds Sphinx documentation, uploads the generated HTML files as artefacts and deploys them to GitHub Pages
name: Build docs

# It runs on every pull request, but it only generates the documentation from master (which makes sense)
on:
pull_request:
branches:
- master

jobs:
sphinx-build:
# Target platform; mostly doesn't matter for HTML websites generated from Sphinx
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

# 1) Build HTML from Sphinx
- name: Build HTML
uses: ammaraskar/[email protected]
with:
pre-build-command: "apt install -y pandoc"

# 2) Upload the generated HTML
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: html-docs
path: docs/build/html/

# 3) Deploy using GitHub pages, but only if the branch == master
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/build/html
24 changes: 0 additions & 24 deletions .github/workflows/build_docs.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,34 @@ on:
branches:
- master

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

jobs:

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

steps:
- uses: actions/checkout@v3

- name: Compile HW Perf Local Example
- name: Compile hardware for Perf Local Example
run: |
source ~/.bashrc && vivado -version
mkdir examples_hw/build_perf_local && cd examples_hw/build_perf_local
/usr/bin/cmake ../ -DFDEV_NAME=u55c -DEXAMPLE=static -DEN_XTERM=0
cmake ../ -DFDEV_NAME=u55c -DEXAMPLE=static -DEN_XTERM=0
make project && make bitgen
- name: Compile SW Perf Host Example
- name: Compile software for Perf Local Example
run: |
mkdir examples_sw/build_perf_local && cd examples_sw/build_perf_local
/usr/bin/cmake ../ -DEXAMPLE=perf_local
cmake ../ -DEXAMPLE=perf_local
make
- name: Artifact upload
uses: actions/upload-artifact@v3
with:
name: bitstream-perf-local
path: examples_hw/build_perf_local/bitstreams
retention-days: 5
retention-days: 3
21 changes: 21 additions & 0 deletions .github/workflows/compile_driver.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# A work-flow for compiling the Coyote driver; for now, we are testing on Ubuntu 20.04
# This checks no extreme breaking changes were done in the driver, i.e. at least it compiles
name: Compile driver

# Run on every pull request change, makes dev and PR reviews easier
on:
pull_request:
branches:
- master

jobs:
compile-driver:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v4

# We do some additional logging, just so that we can back-trace the Linux / Ubuntu version
- name: Compile driver
run:
cd driver && uname -r && lsb_release -a && make
150 changes: 150 additions & 0 deletions .github/workflows/compile_software.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
# 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 pull request update, makes dev and PR reviews easier
on:
pull_request:
branches:
- master

jobs:
compile-kmeans:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v4

- name: Environment set-up
run:
mkdir examples_sw/build && sudo apt-get install libboost-all-dev

- name: Compile kmeans
run:
cd examples_sw/build && cmake ../ -DEXAMPLE=kmeans -DVERBOSITY=ON && make

compile-multi-threading:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v4

- name: Environment set-up
run:
mkdir examples_sw/build && sudo apt-get install libboost-all-dev

- name: Compile multi-threading
run:
cd examples_sw/build && cmake ../ -DEXAMPLE=multithreading -DVERBOSITY=ON && make

compile-perf-fpga:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v4

- name: Environment set-up
run:
mkdir examples_sw/build && sudo apt-get install libboost-all-dev

- name: Compile perf FPGA
run:
cd examples_sw/build && cmake ../ -DEXAMPLE=perf_fpga -DVERBOSITY=ON && make

compile-perf-local:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v4

- name: Environment set-up
run:
mkdir examples_sw/build && sudo apt-get install libboost-all-dev

- name: Compile perf local
run:
cd examples_sw/build && cmake ../ -DEXAMPLE=perf_local -DVERBOSITY=ON && make

compile-reconfigure-shell:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v4

- name: Environment set-up
run:
mkdir examples_sw/build && sudo apt-get install libboost-all-dev

- name: Compile reconfigure shell
run:
cd examples_sw/build && cmake ../ -DEXAMPLE=reconfigure_shell -DVERBOSITY=ON && make

compile-streaming-client:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v4

- name: Environment set-up
run:
mkdir examples_sw/build && sudo apt-get install libboost-all-dev

- name: Compile streaming client
run:
cd examples_sw/build && cmake ../ -DEXAMPLE=streaming_client -DVERBOSITY=ON && make

compile-streaming-server:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v4

- name: Environment set-up
run:
mkdir examples_sw/build && sudo apt-get install libboost-all-dev

- name: Compile streaming server
run:
cd examples_sw/build && cmake ../ -DEXAMPLE=streaming_server -DVERBOSITY=ON && make

compile-tcp-benchmark:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v4

- name: Environment set-up
run:
mkdir examples_sw/build && sudo apt-get install libboost-all-dev

- name: Compile TCP benchmark
run:
cd examples_sw/build && cmake ../ -DEXAMPLE=tcp_iperf -DVERBOSITY=ON && make

compile-rdma-client:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v4

- name: Environment set-up
run:
mkdir examples_sw/build && sudo apt-get install libboost-all-dev

- name: Compile RDMA client
run:
cd examples_sw/build && cmake ../ -DEXAMPLE=rdma_client -DVERBOSITY=ON && make

compile-rdma-server:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v4

- name: Environment set-up
run:
mkdir examples_sw/build && sudo apt-get install libboost-all-dev

- name: Compile RDMA server
run:
cd examples_sw/build && cmake ../ -DEXAMPLE=rdma_server -DVERBOSITY=ON && make
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,5 @@ misc/
*_funcsim.vhdl
*.upgrade_log
*.d
*.DS_Store
*.venv
1 change: 0 additions & 1 deletion Coyote
Submodule Coyote deleted from 8d7340
Loading

0 comments on commit 57367c6

Please sign in to comment.