mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 17:15:33 +00:00
docs: Debugging macro test fail
Call yosys-config post build extraction for sanity check. Report absolute path for yosys exe if it can't be found.
This commit is contained in:
parent
112a5cfc67
commit
6f602e79d4
2 changed files with 46 additions and 4 deletions
43
.github/workflows/test-build.yml
vendored
43
.github/workflows/test-build.yml
vendored
|
@ -72,8 +72,9 @@ jobs:
|
|||
|
||||
test-yosys:
|
||||
name: Run tests
|
||||
needs: build-yosys
|
||||
runs-on: ${{ matrix.os }}
|
||||
needs: [build-yosys, pre_job]
|
||||
if: needs.pre_job.outputs.should_skip != 'true'
|
||||
env:
|
||||
CC: clang
|
||||
strategy:
|
||||
|
@ -122,6 +123,10 @@ jobs:
|
|||
run:
|
||||
tar -xvf build.tar
|
||||
|
||||
- name: Log yosys-config output
|
||||
run: |
|
||||
./yosys-config || true
|
||||
|
||||
- name: Run tests
|
||||
shell: bash
|
||||
run: |
|
||||
|
@ -132,3 +137,39 @@ jobs:
|
|||
shell: bash
|
||||
run: |
|
||||
find tests/**/*.err -print -exec cat {} \;
|
||||
|
||||
test-docs:
|
||||
name: Run docs tests
|
||||
runs-on: ${{ matrix.os }}
|
||||
needs: [build-yosys, pre_job]
|
||||
if: needs.pre_job.outputs.should_skip != 'true'
|
||||
env:
|
||||
CC: clang
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-20.04, macos-13]
|
||||
steps:
|
||||
- name: Checkout Yosys
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup environment
|
||||
uses: ./.github/actions/setup-build-env
|
||||
|
||||
- name: Download build artifact
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: build-${{ matrix.os }}
|
||||
|
||||
- name: Uncompress build
|
||||
shell: bash
|
||||
run:
|
||||
tar -xvf build.tar
|
||||
|
||||
- name: Log yosys-config output
|
||||
run: |
|
||||
./yosys-config || true
|
||||
|
||||
- name: Run tests
|
||||
shell: bash
|
||||
run: |
|
||||
make -C docs test -j${{ env.procs }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue