Add comprehensive .github/copilot-instructions.md for coding agent onboarding #363
Workflow file for this run
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: ci | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Lint | |
| run: | | |
| make fmt | |
| build: | |
| runs-on: deathstar | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Download bin tools | |
| if: steps.cache-bin.outputs.cache-hit != 'true' | |
| run: | | |
| make download-bin | |
| - name: Setup submodules | |
| if: steps.cache-submodules.outputs.cache-hit != 'true' | |
| run: | | |
| make submodules | |
| - name: Create python venv | |
| run: | | |
| make fprime-venv | |
| - name: Setup Zephyr | |
| if: steps.cache-zephyr-workspace.outputs.cache-hit != 'true' | |
| run: | | |
| make zephyr-workspace | |
| - name: Setup Zephyr SDK | |
| if: steps.cache-zephyr-sdk.outputs.cache-hit != 'true' | |
| run: | | |
| make zephyr-sdk | |
| - name: Setup Zephyr Export | |
| run: | | |
| make zephyr-export | |
| - name: Install Zephyr Python Dependencies | |
| run: | | |
| make zephyr-python-deps | |
| - name: Generate | |
| run: | | |
| make generate | |
| - name: Build | |
| run: | | |
| make build | |
| - name: Upload build artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifacts | |
| path: | | |
| build-artifacts/zephyr.uf2 | |
| build-artifacts/zephyr/fprime-zephyr-deployment/dict/ReferenceDeploymentTopologyDictionary.json | |
| retention-days: 30 | |
| integration: | |
| runs-on: | |
| - integration | |
| needs: build | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/download-artifact@v5 | |
| - name: Set up dependencies | |
| run: | | |
| mkdir -p build-artifacts/zephyr/fprime-zephyr-deployment/dict \ | |
| && mv zephyr/fprime-zephyr-deployment/dict/ReferenceDeploymentTopologyDictionary.json build-artifacts/zephyr/fprime-zephyr-deployment/dict | |
| make submodules fprime-venv | |
| - name: Trigger Bootloader | |
| run: | | |
| make bootloader | |
| sleep 10 | |
| - name: Copy Firmware | |
| run: | | |
| picotool load ./zephyr.uf2 | |
| picotool reboot | |
| - name: Run Integration Tests | |
| run: | | |
| make test-integration |