[NetlistBrowser] Cell Instance Schematic Viewer #4540
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: Test RapidWright Wrapper | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Setup JDK 1.11 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '11' | |
| cache: 'gradle' | |
| - name: Compile | |
| run: GRADLE_USER_HOME=gradle_home ./gradlew compileJava | |
| - name: Test RapidWright Wrapper | |
| run: bin/rapidwright | |
| - name: List RapidWright Apps | |
| run: bin/rapidwright --list-apps | |
| - name: Check Class Main Execution | |
| run: bin/rapidwright com.xilinx.rapidwright.rwroute.RWRoute | |
| - name: Check Jython Command Execution | |
| run: bin/rapidwright Jython -c "print(Device.AWS_F1)" | |
| - name: Check PWD | |
| run: | | |
| mkdir -p sub/dir/ectory | |
| cd sub/dir/ectory | |
| ${{ github.workspace }}/bin/rapidwright Jython -c "import sys, os; sys.exit(0 if os.getcwd() == sys.argv[1] else 1)" $(pwd) | |
| - name: Terminate Gradle to allow caching | |
| run: ./gradlew --stop | |