Coyote/.github/workflows/build_pr.yml

41 lines
1.2 KiB
YAML

name: Build pr
on:
schedule:
- cron: '0 22 * * 6' # runs at 00:00 CET Saturday
workflow_dispatch:
jobs:
build_service_reconfiguration:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- name: Compile HW Service Reconfiguration
run: |
mkdir build_service_reconfiguration_hw && cd build_service_reconfiguration_hw
/usr/bin/cmake ../hw/ -DFDEV_NAME=u55c -DEXAMPLE=service_reconfiguration -DACLK_F=250
make shell && make compile
- name: Compile SW Service Reconfiguration Client
run: |
mkdir build_service_reconfiguration_sw_client && cd build_service_reconfiguration_sw_client
/usr/bin/cmake ../sw/ -DTARGET_DIR=examples/service_reconfiguration/client
make
- name: Compile SW Service Reconfiguration Service
run: |
mkdir build_service_reconfiguration_sw_service && cd build_service_reconfiguration_sw_service
/usr/bin/cmake ../sw/ -DTARGET_DIR=examples/service_reconfiguration/service
make
- name: Artifact upload
uses: actions/upload-artifact@v3
with:
name: bitstream-service-reconfiguration
path: build_service_reconfiguration_hw/bitstreams
retention-days: 1