1
0
Fork 0
mirror of https://git.sr.ht/~kivikakk/niar synced 2024-12-23 02:52:25 +00:00
niar/template/.github/workflows/cxxrtl-build.yml
Asherah Connor 34b8c3b3f2 template: use "newproject" name in workflows, and -Onone with cxxrtl.
builtin-yosys doesn't support opt.
2024-06-27 19:53:37 +03:00

23 lines
386 B
YAML

name: CXXRTL build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
cxxrtl-build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- uses: kivikakk/niar/setup-action@main
- name: Elaborate, compile and run cxxrtl
run: python -m newproject cxxrtl -Onone