Skip to content

ci: publish build artifacts for test suite and loadlinux#68

Open
Brian Cain (androm3da) wants to merge 3 commits into
qualcomm:masterfrom
androm3da:ci/workflow-artifacts
Open

ci: publish build artifacts for test suite and loadlinux#68
Brian Cain (androm3da) wants to merge 3 commits into
qualcomm:masterfrom
androm3da:ci/workflow-artifacts

Conversation

@androm3da

Copy link
Copy Markdown
Member

Add artifact upload steps to the Build and Test workflow:

  • Upload test results (HTML report, JSON, test.out) after testall, with if: always() so failures are still captured.
  • Build loadlinux and package it with all test ELFs, bootvm_image files, booter binaries, and simulator config files (timer_v*.cfg, devsim_v*.cfg) into a single test-suite.tar.xz archive. The tarball can be extracted and used directly by hexagon-sim, archsim, or any other Hexagon simulator to re-run the test suite independently of the CI build environment.
  • Also publish loadlinux as a standalone artifact for convenience.

@github-actions github-actions Bot added the untested Mark untested PRs label Jun 30, 2026
Comment thread .github/workflows/h2_reg.yml Fixed
Comment thread .github/workflows/h2_reg.yml Fixed
Comment thread .github/workflows/h2_reg.yml Fixed
Mutable tag references can be silently repointed by the action owner,
enabling supply-chain attacks.  Pin to the commit SHA each tag
currently resolves to, keeping the tag name as a comment.

- actions/checkout@v6  -> df4cb1c (v6.0.3)
- actions/cache@v5     -> caa2961 (v5.1.0)

Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>
linux/makefile used -I$(KERNELPATH)/include which points to
kernel/include in the source tree — a path that does not exist.
Kernel-internal headers (context.h, cpuint.h, shint.h, linear.h,
max.h, etc.) are generated into the build tree during the kernel
build, not the source tree.

Derive KERNEL_BUILD_DIR from INSTALLPATH the same way
Makefile.inc.test does:

  KERNEL_BUILD_DIR := $(patsubst %/install,%/build/kernel,$(INSTALLPATH))

and use -I$(KERNEL_BUILD_DIR)/include in CFLAGS.

Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>
Add artifact upload steps to the Build and Test workflow:

- Upload test results (HTML report, JSON, test.out) after testall,
  with if: always() so failures are still captured.
- Build loadlinux and package it with all test ELFs, bootvm_image
  files, booter binaries, and simulator config files (timer_v*.cfg,
  devsim_v*.cfg) into a single test-suite.tar.xz archive.  The
  tarball can be extracted and used directly by hexagon-sim, archsim,
  or any other Hexagon simulator to re-run the test suite independently
  of the CI build environment.
- Also publish loadlinux as a standalone artifact for convenience.
- Pass explicit target name to make -C linux to avoid the default
  target being taken from an included makefile fragment.

Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

untested Mark untested PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants