Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
name: Test
on: [push]
jobs:
compiler:
name: Test Compiler
runs-on: ubuntu-latest
container: ghcr.io/cucapra/calyx:0.3.0
steps:
- name: Install z3
run: |
apt-get update
apt-get install -y z3
- name: Checkout commit that triggered run
uses: actions/checkout@v3
with:
repository: cucapra/filament
ref: ${{ github.sha }}
- name: Configure fud
working-directory: /home
run: |
# Copy fud configuration
mkdir -p $HOME/.config
cp -r /root/.config/* $HOME/.config
# Register Icarus
fud register icarus-verilog -p "$(pwd)/calyx/fud/icarus/icarus.py"
# Register filament relevant stages
python3 -m pip install cocotb find_libpython pytest
fud register filament -p "${GITHUB_WORKSPACE}/fud/filament.py"
fud config stages.filament.exec "${GITHUB_WORKSPACE}/target/debug/filament"
fud config stages.filament.library "${GITHUB_WORKSPACE}"
- name: Build Filament
uses: actions-rs/cargo@v1
with:
command: build
- name: Original test suite
run:
runt -d -o fail -j 1 --max-futures 10 -x 'IR'cdff47fcaThis file is pinned to the selected release. Download the original to open it in your design tool.