Skip to content

Commit 573fe90

Browse files
Merge pull request #109 from qualcomm-linux/development
- Build dependencies are now resolved and doesn't crash if unmet at start of build - Default runner is now ARM64 as opposed to AMD64 - There is a check for pkg repo variable
2 parents 1def25f + 25525f3 commit 573fe90

3 files changed

Lines changed: 11 additions & 3 deletions

File tree

.github/actions/build_package/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,10 @@ runs:
7979
# Host Architecture: The architecture for which the binaries are being built (invariably arm64).
8080
8181
gbp buildpackage \
82+
--git-no-pristine-tar \
8283
--git-ignore-branch \
83-
--git-builder="sbuild --host=arm64 \
84+
--git-builder="sbuild --no-clean-source \
85+
--host=arm64 \
8486
--build=${{env.BUILD_ARCH}} \
8587
--dist=${{inputs.distro-codename}} \
8688
$lintian_flag \

.github/workflows/qcom-build-pkg-reusable-workflow.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,9 @@ on:
4141
runner:
4242
description: The runner to use for the build
4343
type: string
44-
default: ubuntu-latest
45-
#default: lecore-prd-u2404-arm64-xlrg-od-ephem
44+
default: lecore-prd-u2404-arm64-xlrg-od-ephem
45+
#default: ubuntu-latest
46+
4647

4748
secrets:
4849
TOKEN:

.github/workflows/qcom-upstream-pr-pkg-build-reusable-workflow.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@ jobs:
8282
echo "upstream-repo : ${{inputs.upstream-repo}}"
8383
echo "upstream-repo-ref : ${{inputs.upstream-repo-ref}}"
8484
echo "pkg-repo : ${{inputs.pkg-repo}}"
85+
if [[ -z "${{inputs.pkg-repo}}" ]]; then
86+
echo "ERROR: inputs.pkg-repo is empty. Make sure that the caller workflow's repo has the repo variable PKG_REPO_GITHUB_NAME populated with the correct value. This variable should be in the format of owner/repo-name, for example: qualcomm-linux/pkg-repo"
87+
exit 1
88+
fi
89+
8590
8691
- name: Checkout qcom-build-utils
8792
uses: actions/checkout@v4

0 commit comments

Comments
 (0)