Automated Integration Tests #163
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: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build | |
| run: | | |
| make build | |
| - name: Archive | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: artifacts | |
| path: | | |
| build-artifacts/zephyr.uf2 | |
| build-artifacts/zephyr/fprime-zephyr-deployment/dict/ReferenceDeploymentTopologyDictionary.json | |
| integration: | |
| runs-on: [self-hosted, integration] | |
| # needs: build | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/download-artifact@v5 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| run-id: 18236298785 | |
| - name: Trigger Bootloader | |
| run: | | |
| ls | |
| 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 | |
| make fprime-venv | |
| make bootloader | |
| sleep 10 | |
| - name: Copy Firmware | |
| run: | | |
| picotool load ./zephyr.uf2 | |
| sleep 5 |