Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
eddieh-xlnx committed May 17, 2024
1 parent ed1b54f commit a86fd1b
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 18 deletions.
35 changes: 27 additions & 8 deletions .github/workflows/make.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ jobs:
fail-fast: false
matrix:
router:
- rwroute
- nxroute-poc
- cuckoo
lutpinswapping:
- false
- true
Expand All @@ -40,14 +39,18 @@ 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
- router: cuckoo
lutpinswapping: true
- router: cuckoo
lutroutethru: true
# NXRoute does not support LUT pin swapping
- router: nxroute-poc
lutpinswapping: true
Expand All @@ -69,10 +72,26 @@ jobs:
python-version: '3.12'
check-latest: true
cache: 'pip'
- name: Download xcvu3p.device (nxroute-poc only)
if: matrix.router == 'nxroute-poc'
- name: Download xcvu3p.device
if: matrix.router == 'nxroute-poc' || matrix.router == 'cuckoo'
run:
wget -q https://github.com/Xilinx/fpga24_routing_contest/releases/latest/download/xcvu3p.device
- name: Build 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: |
sudo 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 }}
Expand Down
18 changes: 9 additions & 9 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
make test-container
mkdir cuckoo
cd cuckoo
tar xvzf ../cuckoo_submission*.tar.gz
make test-container VERBOSE=1
- uses: actions/upload-artifact@v4
with:
name: rwroute_container.sif
name: cuckoo_container.sif
compression-level: 0
path: |
rwroute/*.sif
cuckoo/*.sif
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ distclean: clean
(/usr/bin/time java -cp $$(cat $(JAVA_CLASSPATH_TXT)) $(JVM_HEAP) com.xilinx.fpga24_routing_contest.PartialRouterPhysNetlist $< $@) $(call log_and_or_display,$@.log)

## TEAM CUCKOO
%_cuckoo.phys: %_unrouted.phys
%_cuckoo.phys: %_unrouted.phys xcvu3p.device
(/usr/bin/time OpenPARF/fpga24contest/build/fpgarouter -device xcvu3p.device -phys $< -ifout $@) $(call log_and_or_display,$@.log)


Expand Down

0 comments on commit a86fd1b

Please sign in to comment.