Build QSFP Service - Hourly #1046
This file contains 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 QSFP Service - Hourly | |
run-name: Build QSFP Service - Hourly | |
on: | |
# Allow on pull request - for testing TODO: paulcruz74 - remove this after the build starts passing | |
pull_request: | |
# Allow manually triggering the workflow | |
workflow_dispatch: | |
# Also schedule the workflow to run hourly automatically | |
# ShipIt job will sync hourly around HH:21, so schedule the run with 15 minute offset | |
schedule: | |
- cron: '36 * * * *' | |
jobs: | |
Qsfp-Service-Build-Hourly: | |
runs-on: 32-core-ubuntu | |
steps: | |
- run: echo "Confirming hardware specications:"; sudo lscpu | |
- name: Clean workspace | |
run: sudo rm -rf ${{ github.workspace }}/* | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Run Docker-based build for FBOSS | |
run: sudo ./fboss/oss/scripts/docker-build.py --scratch-path ${{ github.workspace }}/build-output --target qsfp_service --no-docker-output |