Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
Signed-off-by: Eddie Hung <[email protected]>
  • Loading branch information
eddieh-xlnx committed May 17, 2024
1 parent ed1b54f commit e5355e7
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 30 deletions.
45 changes: 23 additions & 22 deletions .github/workflows/make.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,7 @@ jobs:
fail-fast: false
matrix:
router:
- rwroute
- nxroute-poc
lutpinswapping:
- false
- true
lutroutethru:
- false
- true
- cuckoo
benchmark:
- logicnets_jscl
- boom_med_pb
Expand All @@ -40,20 +33,14 @@ jobs:
- ispd16_example2
exclude:
# Insufficient memory on GitHub Actions
- router: rwroute
- router: cuckoo
benchmark: mlcad_d181_lefttwo3rds
- router: rwroute
- router: cuckoo
benchmark: koios_dla_like_large
- router: rwroute
- router: cuckoo
benchmark: boom_soc
- router: rwroute
- router: cuckoo
benchmark: ispd16_example2
# NXRoute does not support LUT pin swapping
- router: nxroute-poc
lutpinswapping: true
# NXRoute does not support LUT routethrus
- router: nxroute-poc
lutroutethru: true
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -73,14 +60,28 @@ jobs:
if: matrix.router == 'nxroute-poc'
run:
wget -q https://github.com/Xilinx/fpga24_routing_contest/releases/latest/download/xcvu3p.device
- name: Install capnp-0.10.2
run: |
curl -O https://capnproto.org/capnproto-c++-0.10.2.tar.gz
tar zxf capnproto-c++-0.10.2.tar.gz
cd capnproto-c++-0.10.2
./configure
make
sudo make install
- name: Build OpenPARF/fpga24contest
run: |
apt-get -y install cmake libopenblas-dev libboost-filesystem-dev libboost-program-options-dev
cd OpenPARF/fpga24contest
mkdir build
cd build
cmake ../src -DCMAKE_BUILD_TYPE=Release
make
- env:
REPORT_ROUTE_STATUS_URL: ${{ secrets.REPORT_ROUTE_STATUS_URL }}
REPORT_ROUTE_STATUS_AUTH: ${{ secrets.REPORT_ROUTE_STATUS_AUTH }}
# For certain benchmarks, wirelength_analyzer/CheckPhysNetlist requires more memory than that available in GitHub Actions
WIRELENGTH_ANALYZER_MOCK_RESULT: ${{ matrix.benchmark == 'koios_dla_like_large' }}
CHECK_PHYS_NETLIST_DIFF_MOCK_RESULT: ${{ matrix.benchmark == 'koios_dla_like_large' }}
RWROUTE_FORCE_LUT_PINSWAPPING: ${{ matrix.router == 'rwroute' && matrix.lutpinswapping }}
RWROUTE_FORCE_LUT_ROUTETHRU: ${{ matrix.router == 'rwroute' && matrix.lutroutethru }}
run: |
make ROUTER="${{ matrix.router }}" BENCHMARKS="${{ matrix.benchmark }}" VERBOSE=1
- name: Score summary
Expand Down Expand Up @@ -117,15 +118,15 @@ jobs:
- uses: actions/upload-artifact@v4
if: always()
with:
name: logs-${{ matrix.router }}${{ matrix.router == 'rwroute' && matrix.lutpinswapping && '-lutpinswapping' || ''}}${{ matrix.router == 'rwroute' && matrix.lutroutethru && '-lutroutethru' || ''}}-${{ matrix.benchmark }}
name: logs-${{ matrix.router }}-${{ matrix.benchmark }}
path: |
*.log
*.check
*.wirelength
- uses: actions/upload-artifact@v4
if: always()
with:
name: ${{ matrix.router }}${{ matrix.router == 'rwroute' && matrix.lutpinswapping && '-lutpinswapping' || ''}}${{ matrix.router == 'rwroute' && matrix.lutroutethru && '-lutroutethru' || ''}}-${{ matrix.benchmark }}
name: ${{ matrix.router }}-${{ matrix.benchmark }}
compression-level: 0
path: |
*.dcp
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/package_and_test-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
make distclean-and-package-submission
- uses: actions/upload-artifact@v4
with:
name: rwroute_submission.tar.gz
name: cuckoo_submission.tar.gz
compression-level: 0
path: |
rwroute_submission*.tar.gz
cuckoo_submission*.tar.gz
test-container:
runs-on: ubuntu-latest
Expand All @@ -38,17 +38,17 @@ jobs:
sudo apt-get -f install
- uses: actions/download-artifact@v4
with:
name: rwroute_submission.tar.gz
name: cuckoo_submission.tar.gz
- name: make test-container
run: |
mkdir rwroute
cd rwroute
tar xvzf ../rwroute_submission*.tar.gz
mkdir cuckoo
cd cuckoo
tar xvzf ../cuckoo_submission*.tar.gz
make test-container
- uses: actions/upload-artifact@v4
with:
name: rwroute_container.sif
name: cuckoo_container.sif
compression-level: 0
path: |
rwroute/*.sif
cuckoo/*.sif

0 comments on commit e5355e7

Please sign in to comment.