chao an
7afa9b51ea
ci/check: install format tool before run style check script
...
Signed-off-by: chao an <anchao@xiaomi.com>
2023-07-25 10:48:01 +02:00
Brennan Ashton
6655c99341
CI: set-output command is deprecated
...
CI currently runs with the warning:
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2023-05-17 17:50:17 +08:00
dependabot[bot]
5abae22fd4
build(deps): bump github/super-linter from 4 to 5
...
Bumps [github/super-linter](https://github.com/github/super-linter ) from 4 to 5.
- [Release notes](https://github.com/github/super-linter/releases )
- [Changelog](https://github.com/github/super-linter/blob/main/docs/release-process.md )
- [Commits](https://github.com/github/super-linter/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: github/super-linter
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-22 01:32:50 +08:00
raiden00pl
6b35ff323a
github/linters/setup.cfg: ignore E203 for flake8 to fix compatibility issues with black
...
For more details, see https://black.readthedocs.io/en/stable/guides/using_black_with_other_tools.html#flake8
2023-04-17 01:47:31 -07:00
Xiang Xiao
e07d8f546a
build.yml: Sync with nuttx version
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-12 01:37:50 +02:00
Nathan Hartman
e4376a0e60
NuttX graduated the Incubator; update repository links
2022-11-26 11:59:17 -08:00
Brennan Ashton
393df6762e
CI: Update worker base OS version
2022-11-22 01:28:48 +08:00
Alex
daf9e80936
Update build.yml
...
Signed-off-by: sashashura <93376818+sashashura@users.noreply.github.com>
2022-08-29 21:36:17 +08:00
qinwei1
db9ea40798
.github/workflows: Add nuttx/source to the safe directory, covering apps
...
Signed-off-by: qinwei1 <qinwei1@xiaomi.com>
2022-06-24 23:47:49 -07:00
Xiang Xiao
99d905369e
.github/workflows: Add nuttx/source to the safe directory
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-06-24 23:47:49 -07:00
dependabot[bot]
23f35ea1b3
build(deps): bump actions/upload-artifact from 1 to 3
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 1 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v1...v3 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-22 01:12:21 +08:00
dependabot[bot]
85962aab14
build(deps): bump actions/cache from 2 to 3
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-22 01:12:12 +08:00
dependabot[bot]
452d5352d5
build(deps): bump actions/checkout from 2 to 3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-21 23:23:30 +08:00
dependabot[bot]
a4c96f5dbc
build(deps): bump actions/download-artifact from 1 to 3
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 1 to 3.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v1...v3 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-21 23:23:22 +08:00
naveen
2f173e9f48
chore: Included githubactions in the dependabot config
...
This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure.
Dependabot helps in keeping the supply chain secure https://docs.github.com/en/code-security/dependabot
GitHub actions up to date https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-06-21 16:43:58 +03:00
naveen
83ea328ef5
chore: Set permissions for GitHub actions
...
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.
- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ )
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-06-21 16:43:58 +03:00
Christian Clauss
72cb2c237b
Lint Python code with flake8 and isort
2022-06-21 16:43:58 +03:00
Brennan Ashton
72ead93dee
ci: lint only changed files
2022-06-21 16:43:58 +03:00
Brennan Ashton
5787c26159
Add black linter for python
2022-06-21 16:43:58 +03:00
Xiang Xiao
2f74de6f02
.github/workflows/check.yml: Enable Change-ID check explicitly
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-04-09 22:08:27 +02:00
Gustavo Henrique Nihei
eb124a4357
ci: Bump github/super-linter version to V4
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-12-21 20:51:14 +01:00
Gustavo Henrique Nihei
82646b9564
ci: Use GitHub Actions concurrency for cancelling duplicate jobs
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-12-18 07:14:25 -06:00
Gustavo Henrique Nihei
b989c3d536
github: Update links to Docker Linux image
...
GitHub's Docker registry has been replaced by the Container registry.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-04 14:25:07 +08:00
Xiang Xiao
b7e9c43489
ci: change sim01 and sim02 to sim-01 and sim-02
...
follow up the kernel side chnage:
commit 09a0ed111c0c193a57b2a538e23c2b6a6e9cdf26
Author: Xiang Xiao <xiaoxiang@xiaomi.com>
Date: Thu May 13 21:28:43 2021 +0800
tools/ci: Rename sim0x.dat to sim-0x.dat to align with arm-xx.dat
To avoid the build break sim0x.dat will remove in the upcoming patch
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-05-16 19:44:46 +01:00
Brennan Ashton
ddbef2b5a9
CI: Migrate ci tooling from testing repository to main os repo
2021-04-05 11:50:59 -05:00
Xiang Xiao
4e90cf2747
build: Replace sim with sim01 and sim02
...
follow up nuttx-testing repo change:
commit 08d766faef84e43112b70a08f6f0c54654482024
Author: Xiang Xiao <xiaoxiang@xiaomi.com>
Date: Sun Apr 4 04:21:57 2021 +0800
Split sim.dat to sim00.dat and sim01.dat
to speed up the macOS build
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-04-04 05:16:58 -05:00
Matias N
003840a312
CI: adapt to testlist changes
2021-04-03 15:15:33 +01:00
Matias N
b9042a3666
CI: cancel redundant workflows
2021-03-31 21:25:11 -05:00
Brennan Ashton
c6ee2bf140
CI: Only use approved GitHub Actions
...
This also brings the workflow files inline what is in the os repo
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-12-30 00:36:36 +01:00
Brennan Ashton
0d9579e21c
Remove deprecated usage of set-env in workflows
...
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-11-08 19:38:15 -08:00
Xiang Xiao
bd0ad68da8
build.yml: Switch avr-mips-riscv-x86-xtensa.dat to other.dat
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-10-29 01:08:34 -07:00
Bhindhiya
07f2318fae
Add renesas precheck
2020-10-01 12:19:14 +08:00
Matias N
282e565676
Remove -x from cibuild.sh call in CI since this will abort the build
...
on first error and we do not want that.
2020-09-13 10:30:06 -07:00
Matias N
5e20ccd366
CI: don't cache sources, use artifacts only
2020-09-12 12:51:11 -07:00
Brennan Ashton
bef5dc32a7
CI: Fix check patch to handle renames / deletes
...
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-09-03 20:08:01 -03:00
Ouss4
a01be75a44
Update boards matrix to add AVR builds.
2020-07-19 09:29:58 -05:00
liuhaitao
d7a5313aca
Revert "CI: use 'git diff $commits' as a whole patchset to do checkpatch"
...
This reverts commit 9c4cdc5331
.
If one PR is on a former master code base, using 'git diff $commits' would result in
abnormal checkpatch report sometimes. So revert it anyway.
2020-05-09 14:10:48 +08:00
liuhaitao
9c4cdc5331
CI: use 'git diff $commits' as a whole patchset to do checkpatch
...
So avoid the duplicate print logs sometimes and rename file not opened issue.
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-05-08 17:26:16 +01:00
Brennan Ashton
005ef92990
Restore Git Credentials on NuttX repo
...
Something change on the GitHub side that has broken credentials
between the the fetch and buld workflow steps. There is no
way to tell the checkout action to only re-auth so we have it
checkout the repo again, but it will use what it already has.
In the future we can change fetch step to just compute the
target refs and store them in a script that we can call to
set the environment variables for the targets much like
this patch.
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-05-05 15:28:51 +08:00
Xiang Xiao
c142921dd8
github: Copy PULL_REQUEST_TEMPLATE.md from nuttx repo
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-01 23:13:22 -07:00
liuhaitao
c98960cbf4
CI: Remove -G from cibuild.sh command line
...
Use make distclean instead of git clean to do check build clean defaultly.
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-04-29 14:45:40 +08:00
Brennan Ashton
932efd419d
CI: Add logic for determining which branches of OS App and Testing repos should be used
...
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-04-26 00:40:47 +01:00
Xiang Xiao
51cbd42227
Revert "build.yml: Remove -G from cibuild.sh command line"
...
This reverts commit 989988fa72
.
2020-04-22 17:56:19 +01:00
Xiang Xiao
989988fa72
build.yml: Remove -G from cibuild.sh command line
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-22 00:46:26 +08:00
Xiang Xiao
68ed2a2afc
build.yaml: Change arm-11 to arm-12
...
since arm-12 finish more quickly than arm-11
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-19 10:30:17 -06:00
Brennan Ashton
f2fb8c8a42
Add retry to pull docker image
...
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-04-17 15:20:24 -06:00
liuhaitao
d2625c8b9d
CI: refine checkpatch commits in check.yml
...
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-04-16 21:09:54 +08:00
YAMAMOTO Takashi
e0a61da5cc
Rename workflows to match build.yml
2020-04-15 17:02:05 +08:00
YAMAMOTO Takashi
91700e4ce9
Sync with testing repo
...
Namely the following change:
commit 2b69b0b2bb78ad50e9051ed07d096930a4f0918a
Author: YAMAMOTO Takashi <yamamoto@midokura.com>
Date: Tue Apr 14 14:54:13 2020 +0900
CI: Make job descriptions less redundant
From:
PR Check CI (build) / build-linux (arm-02) (pull_request)
To:
Build / Linux (arm-02) (pull_request)
2020-04-15 17:02:05 +08:00
Xiang Xiao
fdb35a9a35
CI: build arm-11 instead of arm-13 for macOS
...
to reduce the building time from ~50m to ~30m
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-14 02:01:26 +08:00