CI: Add local feed for CI-built packages 20845/head
authorJeffery To <jeffery.to@gmail.com>
Wed, 22 Mar 2023 07:46:13 +0000 (15:46 +0800)
committerJeffery To <jeffery.to@gmail.com>
Wed, 19 Apr 2023 05:43:24 +0000 (13:43 +0800)
commite9bb94840288d35b90ca43574b698c43403a7ec4
treeee0f1845757230fc554c0e6bdd426d79417223d7
parent7fda9563de92e58f0ae5c388e66de1d66e3df7f0
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>
.github/workflows/entrypoint.sh
.github/workflows/multi-arch-test-build.yml