3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-24 09:35:32 +00:00

ci: Run test_cell

Includes special cases for partially supported cells.
This commit is contained in:
Krystine Sherwin 2025-04-22 10:20:39 +12:00
parent 66f66d51ee
commit 365c144a3d
No known key found for this signature in database

View file

@ -158,6 +158,40 @@ jobs:
run: |
find tests/**/*.err -print -exec cat {} \;
test-cells:
name: Run test_cell
runs-on: ubuntu-latest
needs: [build-yosys, pre_job]
if: needs.pre_job.outputs.should_skip != 'true'
env:
CC: clang
steps:
- name: Checkout Yosys
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Setup environment
uses: ./.github/actions/setup-build-env
- name: Download build artifact
uses: actions/download-artifact@v4
with:
name: build-ubuntu-latest
- name: Uncompress build
shell: bash
run:
tar -xvf build.tar
- name: test_cell
shell: bash
run: |
./yosys -p 'test_cell all'
./yosys -p 'test_cell -nosat -aigmap $pow $pmux'
./yosys -p 'test_cell -nosat -aigmap $eqx $nex $bweqx'
./yosys -p 'test_cell -aigmap $buf'
test-docs:
name: Run docs tests
runs-on: ${{ matrix.os }}