[NetlistBrowser] Cell Instance Schematic Viewer #7886
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
| name: Build | |
| on: | |
| push: | |
| pull_request: | |
| env: | |
| RAPIDWRIGHT_VERSION: v2025.2.0-rc3-beta | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest] | |
| single_threaded: [multi-threaded, single-threaded] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup JDK 1.17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '17' | |
| cache: 'gradle' | |
| - name: Setup Python 3.12 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.12 | |
| - name: Cache Jars & Data | |
| id: cache-rapidwright | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| data | |
| key: rapidwright-clouddata-v2-${{ env.RAPIDWRIGHT_VERSION }} | |
| - name: Install Python Dependencies | |
| run: | | |
| pip install pytest python/ | |
| - name: Compile | |
| run: ./gradlew assemble -Dorg.gradle.warning.mode=fail | |
| - name: Test | |
| run: ./gradlew -PlimitToSingleProc=${{ matrix.single_threaded }} test | |
| - name: Archive Java Test Report | |
| uses: actions/upload-artifact@v4 | |
| if: always() && matrix.os == 'ubuntu-latest' | |
| with: | |
| name: Java Test Report ${{ matrix.single_threaded }} | |
| path: build/reports/tests/testJava | |
| - name: Upload Test Results | |
| if: always() && matrix.os == 'ubuntu-latest' | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: Unit Test Results ${{ matrix.single_threaded }} | |
| path: | | |
| build/test-results/**/*.xml | |
| - name: Terminate Gradle to allow caching | |
| run: ./gradlew --stop | |