-
Notifications
You must be signed in to change notification settings - Fork 170
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. 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 <bill.mills@linaro.org>
- Loading branch information
Showing
3 changed files
with
60 additions
and
6 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,35 @@ | ||
# 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: libmetal 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: | ||
- uses: actions/checkout@v4 | ||
- name: Zephyr Latest | ||
id: build_Zephyr_latest | ||
uses: ./.github/actions/build_ci | ||
with: | ||
target: zephyr-latest |