Update Offload Function + Host Runtime #206
Workflow file for this run
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
# Copyright 2024 KU Leuven. | |
# Licensed under the Apache License, Version 2.0, see LICENSE for details. | |
# SPDX-License-Identifier: Apache-2.0 | |
# Yunhao Deng <[email protected]> | |
# Run functional regression checks | |
name: ci | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
######## | |
# Docs # | |
######## | |
# docs: | |
# name: Build documentation | |
# runs-on: ubuntu-22.04 | |
# container: | |
# image: ghcr.io/pulp-platform/occamy:main | |
# steps: | |
# - uses: actions/checkout@v2 | |
# - name: Build docs | |
# run: | | |
# bender update && bender checkout | |
# mkdocs build | |
################################################# | |
# Occamy System Software + Hardware Compilation # | |
################################################# | |
occamy-verilator: | |
name: Simulation with Verilator | |
runs-on: ubuntu-22.04 | |
container: | |
image: ghcr.io/kuleuven-micas/snax:main | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: 'recursive' | |
- name: Compile Bootrom | |
run: | | |
echo "Compiling Bootrom" | |
make bootrom CFG_OVERRIDE=target/rtl/cfg/occamy_cfg/hemaia.hjson | |
- name: Compile SW | |
run: | | |
echo "Compiling SW" | |
make sw CFG_OVERRIDE=target/sw/cfg/hemaia.hjson -j$(nproc) | |
- name: Compile RTL | |
run: | | |
make rtl CFG_OVERRIDE=target/rtl/cfg/hemaia.hjson | |
- name: Compile Verilator Binary | |
run: | | |
make occamy_system_vlt -j$(nproc) | |
- name: Run Tests | |
working-directory: target/sim | |
run: | | |
./run.py --simulator verilator \ | |
sw/sim_elf.yaml -j |