diff options
| author | Robert Marko | 2026-01-18 16:43:38 +0000 |
|---|---|---|
| committer | Robert Marko | 2026-01-18 16:53:20 +0000 |
| commit | 38804f59fbb95cb799176ffd01da0444cffb8a47 (patch) | |
| tree | 30609fcbe87dca532699a4917072cc5b6cc13b3b | |
| parent | 11715a4fe783425625a061618e7caa5c56b03323 (diff) | |
| download | qca-wireless-38804f59fbb95cb799176ffd01da0444cffb8a47.tar.gz | |
ci: add ath12k BDF-s
Support printing info for ath12k BDF-s.
Also, update the checkout action to v6.
Signed-off-by: Robert Marko <robimarko@gmail.com>
| -rw-r--r-- | .github/workflows/bdf.yaml | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/.github/workflows/bdf.yaml b/.github/workflows/bdf.yaml index 201ce21..eb001d0 100644 --- a/.github/workflows/bdf.yaml +++ b/.github/workflows/bdf.yaml @@ -14,6 +14,7 @@ jobs: outputs: ath10k_changed_bdfs: ${{ steps.find_bdfs.outputs.ath10k_changed_bdfs }} ath11k_changed_bdfs: ${{ steps.find_bdfs.outputs.ath11k_changed_bdfs }} + ath12k_changed_bdfs: ${{ steps.find_bdfs.outputs.ath12k_changed_bdfs }} steps: - name: Determine changed BDF-s @@ -27,26 +28,31 @@ jobs: # Find list of ath11k changed BDF-s ATH11K_CHANGED_BDFS="$(echo ${{ needs.determine_changed_files.outputs.all_changed_files }} | tr ' ' '\n' | grep -E '.ipq5018|.ipq6018|.ipq8074|.qcn6122|.qcn9074')" + # Find list of ath12k changed BDF-s + ATH12K_CHANGED_BDFS="$(echo ${{ needs.determine_changed_files.outputs.all_changed_files }} | tr ' ' '\n' | grep -E '.qcn9274|.wcn7850')" + echo "ath10k_changed_bdfs="$ATH10K_CHANGED_BDFS"" >> $GITHUB_OUTPUT echo "ath11k_changed_bdfs="$ATH11K_CHANGED_BDFS"" >> $GITHUB_OUTPUT + echo "ath12k_changed_bdfs="$ATH12K_CHANGED_BDFS"" >> $GITHUB_OUTPUT print_bdf_info: name: Print BDF info - if: ${{ needs.determine_changed_bdfs.outputs.ath10k_changed_bdfs != '' || needs.determine_changed_bdfs.outputs.ath11k_changed_bdfs != '' }} + if: ${{ needs.determine_changed_bdfs.outputs.ath10k_changed_bdfs != '' || needs.determine_changed_bdfs.outputs.ath11k_changed_bdfs != '' || needs.determine_changed_bdfs.outputs.ath12k_changed_bdfs != '' }} needs: determine_changed_bdfs runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Get required tools - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: qca/qca-swiss-army-knife path: qca_tools sparse-checkout: | tools/scripts/ath10k/ath10k-bdencoder tools/scripts/ath11k/ath11k-bdencoder + tools/scripts/ath12k/ath12k-bdencoder sparse-checkout-cone-mode: false - name: Print ath10k BDF info @@ -64,3 +70,11 @@ jobs: echo "BDF info for $BDF" python qca_tools/tools/scripts/ath11k/ath11k-bdencoder -i "$BDF" done + + - name: Print ath12k BDF info + if: ${{ needs.determine_changed_bdfs.outputs.ath12k_changed_bdfs != '' }} + run: | + for BDF in ${{ needs.determine_changed_bdfs.outputs.ath12k_changed_bdfs }}; do + echo "BDF info for $BDF" + python qca_tools/tools/scripts/ath12k/ath12k-bdencoder -i "$BDF" + done |