Run Vivado Synthesis (Xilinx) from sg05060 #146
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file describes a workflow that runs synthesis | |
# on a pull request to the main branch | |
name: 20.Synthesis-Vivado | |
run-name: Run Vivado Synthesis (Xilinx) from ${{ github.actor }} | |
on: | |
pull_request: | |
branches: | |
- main | |
schedule: | |
- cron: '30 5 * * *' # 5:30 AM (UTC), any day of the month, any month, any day of the week | |
workflow_dispatch: | |
jobs: | |
Vivado: | |
runs-on: self-hosted # runs on a server with Xilinx Vivado installed | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Synthesis | |
run: | | |
source ${{github.workspace}}/env.source ${{github.workspace}} | |
${{github.workspace}}/actions/action.syn_vivado | |
env: | |
VPU_HOME: ${{github.workspace}} | |
ACTION_HOME: ${{github.workspace}}/actions | |
DESIGN_TOP: VPU_TOP_WRAPPER | |
- name: Report (Timing) | |
run: cat ${{github.workspace}}/actions/work.syn/*.timing.rpt | |
- name: Report (Util) | |
run: cat ${{github.workspace}}/actions/work.syn/*.util.rpt | |