Replace Makefiles with Bash scripts #201
Workflow file for this run
This file contains hidden or 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
| # Copyright (c) 2025 ETH Zurich and University of Bologna. | |
| # Licensed under the Apache License, Version 2.0, see LICENSE for details. | |
| # SPDX-License-Identifier: Apache-2.0 | |
| # Author: Philippe Sauter <phsauter@iis.ee.ethz.ch> | |
| # Author: Thomas Benz <tbenz@iis.ee.ethz.ch> | |
| name: Full Flow | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| release: | |
| types: | |
| - created | |
| jobs: | |
| backend: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 180 | |
| steps: | |
| - name: Checkout repository (with submodules) | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Free disk space | |
| uses: ./.github/actions/free-space | |
| - name: Run Yosys, OpenROAD and KLayout | |
| uses: ./.github/actions/oseda-cmd | |
| with: | |
| cmd: "cd yosys && ./run_synthesis.sh && cd ../openroad && QT_QPA_PLATFORM=offscreen ./run_backend.sh --all && cd ../klayout && ./finishing.sh" | |
| - name: Upload openroad outputs | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: croc-openroad-out | |
| path: | | |
| openroad/out | |
| openroad/reports | |
| continue-on-error: true | |
| - name: Upload gds | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: croc-gds | |
| path: klayout/out/croc_chip.gds.gz | |
| - name: Upload sealed gds | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: croc-gds-sealed | |
| path: klayout/out/croc_chip_sealed.gds.gz | |
| continue-on-error: true |