Add poll mode support for improved fastrpc performance #241
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: pre_merge | |
| description: | | |
| This workflow defines the pre_merge CI process for the fastrpc repository. | |
| It is triggered on pushes to 'main' or 'development' branches, | |
| on pull request events (opened, synchronize, reopened) targeting 'main' or 'development', | |
| or manually via workflow_dispatch. | |
| Loading: Loads the build matrix from MACHINES.json. | |
| Build: Syncs and Builds code for each target using sync_build.yml. | |
| Test: Runs LAVA tests using built artifacts via test.yml. | |
| All jobs use reusable workflows and inherit secrets from the caller. | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| - 'development' | |
| workflow_dispatch: | |
| pull_request_target: # requiring access to base repo | |
| types: [opened, synchronize, reopened] | |
| branches: | |
| - 'main' | |
| - 'development' | |
| paths-ignore: | |
| - '.github/**' | |
| jobs: | |
| # The loading job will load the build matrix from MACHINES.json | |
| loading: | |
| uses: qualcomm/fastrpc/.github/workflows/loading.yml@development | |
| secrets: inherit | |
| # The build job will run on the machines specified in the build_matrix output | |
| # from the loading job. It will use the build.yml workflow to build the code. | |
| build: | |
| needs: loading | |
| strategy: | |
| matrix: | |
| include: ${{ fromJSON(needs.loading.outputs.build_matrix) }} | |
| uses: qualcomm/fastrpc/.github/workflows/sync_build.yml@development | |
| secrets: inherit | |
| with: | |
| docker_image: fastrpc-image:latest | |
| deviceTree: ${{ matrix.deviceTree }} | |
| linuxFirmware: ${{ matrix.linuxFirmware }} | |
| hexDSPBinary: ${{ matrix.hexDSPBinary }} | |
| # The test job will run on the machines specified in the build_matrix output | |
| # from the loading job. It will use the test.yml workflow to run tests. | |
| test: | |
| needs: [loading, build] | |
| uses: qualcomm/fastrpc/.github/workflows/test.yml@development | |
| secrets: inherit | |
| with: | |
| docker_image: fastrpc-image:latest | |
| build_matrix: ${{ needs.loading.outputs.build_matrix }} |