mirror of
https://github.com/OpenAMP/open-amp.git
synced 2026-10-02 18:23:21 +08:00
Multiple lines of text are concatenated so use a code block for the supported targets so they are on individual lines. Signed-off-by: Sipke Vriend <sipke@direktembedded.com>
941 B
941 B
OpenAMP lib build check docker action
This action test builds for a specified target.
Inputs
target
Required the build target. Default "linux".
The supported targets are:
- linux
- generic arm
- zephyr
Example usage
Inside a github action use:
uses: ./.github/actions/build_ci
with:
target: linux
Desktop testing
Right now the directory expectations of the CI script are very messy. This should be cleaned up in a future PR.
Desktop testing is possible but is likewise messy right now.
One time setup, starting in open-amp directory:
git clone https://github.com/OpenAMP/libmetal.git
A sequence like below will work, change the "zephyr" at the end of the docker command line to "linux" or "generic" for the other working tests
docker build -t openamp-ci .github/actions/build_ci/ && docker run -it --rm -v$PWD:/prj -w /prj openamp-ci zephyr
sudo rm -rf build* zephyr*