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)
committerNick Hainke <vincent@systemli.org>
Mon, 26 Jun 2023 09:48:02 +0000 (11:48 +0200)
commit2ae05f5841af1b5117ad3327033df38c0db5e510
tree1fa10ebde7c71b5ec3e28487aa6469b83402c22d
parent9934454586faa749af79f45a9cab1807ff963128
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 f818fe716ea126dd8240c9600f92e5b412d59060)
.github/workflows/entrypoint.sh
.github/workflows/multi-arch-test-build.yml