Repository navigation
Add CI to build the audioreach-driver kernel modules - #97
Open
ffrancis123 wants to merge 1 commit into
Open
ffrancis123 wants to merge 1 commit into
ffrancis123 wants to merge 1 commit into
Conversation
Comment on lines
+15
to
+20
| load_parameters: | ||
| uses: Audioreach/audioreach-workflows/.github/workflows/loading.yml@master | ||
| with: | ||
| event_name: ${{ github.event_name }} | ||
| pr_ref: ${{ github.event.pull_request.head.ref }} | ||
| pr_repo: ${{ github.event.pull_request.head.repo.full_name }} |
Comment on lines
+22
to
+31
| build: | ||
| needs: load_parameters | ||
| uses: Audioreach/audioreach-workflows/.github/workflows/build.yml@master | ||
| secrets: inherit | ||
| with: | ||
| build_args: ${{ needs.load_parameters.outputs.build_args }} | ||
| build_matrix: ${{ needs.load_parameters.outputs.build_matrix }} | ||
| event_name: ${{ github.event_name }} | ||
| pr_ref: ${{ github.event.pull_request.head.ref }} | ||
| pr_repo: ${{ github.event.pull_request.head.repo.full_name }} |
|
|
||
| build: | ||
| needs: load_parameters | ||
| uses: Audioreach/audioreach-workflows/.github/workflows/build.yml@master |
|
|
||
| process_image: | ||
| needs: [load_parameters, build] | ||
| uses: Audioreach/audioreach-workflows/.github/workflows/process_image.yml@master |
Comment on lines
+33
to
+41
| process_image: | ||
| needs: [load_parameters, build] | ||
| uses: Audioreach/audioreach-workflows/.github/workflows/process_image.yml@master | ||
| secrets: inherit | ||
| with: | ||
| event_name: ${{ github.event_name }} | ||
| build_matrix: ${{ needs.load_parameters.outputs.build_matrix }} | ||
| pr_ref: ${{ github.event.pull_request.head.ref }} | ||
| pr_repo: ${{ github.event.pull_request.head.repo.full_name }} |
|
|
||
| trigger_lava: | ||
| needs: prepare_matrix | ||
| uses: Audioreach/audioreach-workflows/.github/workflows/test.yml@master |
| build: | ||
| needs: load_parameters | ||
| uses: Audioreach/audioreach-workflows/.github/workflows/build.yml@master | ||
| secrets: inherit |
| process_image: | ||
| needs: [load_parameters, build] | ||
| uses: Audioreach/audioreach-workflows/.github/workflows/process_image.yml@master | ||
| secrets: inherit |
| trigger_lava: | ||
| needs: prepare_matrix | ||
| uses: Audioreach/audioreach-workflows/.github/workflows/test.yml@master | ||
| secrets: inherit |
Add the pre_merge_build and trigger_lava_on_success workflows, using the audioreach-workflows master workflows as audioreach-graphmgr does. ci/build.sh prepares the SDK kernel with modules_prepare, builds the modules and copies the .ko files to build/. ci/files_to_copy.sh puts them in the rootfs lib/modules/*/updates directory. pre_build.sh fetches the SDK when it is not installed yet. Pass the build matrix to the filter step through an environment variable, and give the LAVA trigger workflow read-only permissions except for the job that calls the test workflow. Signed-off-by: ffrancis <ffrancis@qti.qualcomm.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add CI to build the audioreach-driver kernel modules, following the
setup in audioreach-graphmgr master.
build parameters, builds and processes the image with the
audioreach-workflows master workflows, and filters the test matrix
to the targets with testing enabled.
pre_merge_build run.
modules and copies the .ko files to build/.
lib/modules/*/updates directory.
options.
Signed-off-by: ffrancis ffrancis@qti.qualcomm.com