CI: Add local feed for CI-built packages
authorJeffery To <jeffery.to@gmail.com>
Wed, 22 Mar 2023 07:46:13 +0000 (15:46 +0800)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Mon, 29 Apr 2024 14:33:36 +0000 (16:33 +0200)
commit0c595a8215037f48df69f487acc5e92b1f7b99d3
tree70e1f3a3da65bf6895d652652c0f169635c46028
parenta66846118bd87e5a58611843d5dbf92c44b8f8f7
CI: Add local feed for CI-built packages

To test each package, the CI-built target package (ipk) file is
installed, but currently the target package's dependencies are installed
from the standard opkg feeds.

There are cases when the CI-built target packages should be
installed/tested together:

* If a pull request contains several new packages that depend on each
  other, the test step will fail as the new dependencies cannot be found
  in the current packages feed.

* If a pull request upgrades a source package that builds several target
  packages that depend on each other, the test step may fail due to the
  version/ABI mismatch between a newer target package and the older
  dependencies installed from the packages feed.

This sets up a local feed for the CI-built packages so that dependencies
are also installed from the same set of packages.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit e9bb94840288d35b90ca43574b698c43403a7ec4)
.github/workflows/entrypoint.sh
.github/workflows/multi-arch-test-build.yml