Skip to content

ci: dood

ci: dood #73

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/nikleberg/dev-base
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Build Software (for Sim)
run: |
cd sw
make CLI_FLAGS+='-DSIMULATION=1' exe install
- name: Run Simulation (Questa)
run: |
cd build
make questa work.top
make questa test
make clean
- name: Run Simulation (GHDL)
run: |
cd build
make oss work.top
make clean
- name: Build Software (for Syn)
run: |
cd sw
make clean exe install
- name: Run Synthesis
run: |
cd build
make quartus work.top
- name: Archive CI Artifacts
uses: actions/upload-artifact@v3
with:
name: ci_artifacts
path: |
sw/main.elf
sw/neorv32_exe.bin
build/output_files/*.sof