-
Notifications
You must be signed in to change notification settings - Fork 292
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: Do Zephyr build tests on known good and latest versions
Allow Zephyr testing to either use locked known good values or the very latest versions. This brings open-amp to parity with libmetal. Open-amp did not have the SDK URL discovery code so that was added here as part of this. The known good versions are best for PR checking as if the build fails it is almost always the PR itself that broke it. The latest version is good for periodically checking compatibility with the very latest Zephyr changes. For now we run both on pushes and PRs. We also run main against the latest zephyr check weekly as a look ahead. Signed-off-by: Bill Mills <[email protected]>
- Loading branch information
Showing
3 changed files
with
102 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
# Copyright (c) 2024 Linaro Limited. | ||
|
||
# The focus of this flow is to check for external changes that will effect | ||
# the project. Even if no code changes are happening, changes in external | ||
# distros or projects can invalidate our work and this flow lets us know | ||
|
||
name: open-amp Heath Check | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
paths-ignore: | ||
- docs/** | ||
|
||
# Allows you to run this workflow manually from the Actions tab or gh API | ||
workflow_dispatch: | ||
|
||
# run weekly on Sunday at 5:10 AM UTC (9:10 PM US western) | ||
schedule: | ||
- cron: '10 5 * * 0' | ||
|
||
jobs: | ||
zephyr_build_main: | ||
name: 'Zephyr build from latest on main' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout open-amp | ||
uses: actions/checkout@v4 | ||
with: | ||
path: open-amp | ||
- name: Checkout libmetal | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: OpenAMP/libmetal | ||
path: libmetal | ||
- name: Checkout openamp-system-reference | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: OpenAMP/openamp-system-reference | ||
path: openamp-system-reference | ||
- name: Zephyr Latest | ||
id: build_Zephyr_latest | ||
uses: ./open-amp/.github/actions/build_ci | ||
with: | ||
target: zephyr-latest |