Commit Graph

31 Commits

Author SHA1 Message Date
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
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
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
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
Ouss4
a01be75a44 Update boards matrix to add AVR builds. 2020-07-19 09:29:58 -05: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
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
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
YAMAMOTO Takashi
3b1b5648d2 CI: Add macOS builds
This is a sync from testing repo.
2020-04-09 20:01:57 +08:00
YAMAMOTO Takashi
6e96e54b6b CI: sync with testing repo
Namely the following commit:

    commit 29f2116356451ee3430332df28b953f76da2d284
    Author: YAMAMOTO Takashi <yamamoto@midokura.com>
    Date:   Fri Apr 3 13:56:42 2020 +0900

        Use testbuild -G ("git clean" instead of "make distclean")
2020-04-08 22:09:05 -07:00
liuhaitao
7c8c30537f CI: remove the additional pull docker container step
There is chance pull docker container failure in build jobs,
remove the additional pull docker container step may make it
more stable. Meanwhile, it also saves some time for build job.

Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-04-03 19:20:00 +08:00
liuhaitao
0640e072b0 CI: update matrix boards accordingly since testlist updated
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-04-01 14:44:02 +08:00
YAMAMOTO Takashi
de25bfecf3 CI: Change the workflow name for build.yml 2020-04-01 00:10:36 +08:00
YAMAMOTO Takashi
405efe0897 CI: rename main.yml to build.yml 2020-04-01 00:10:36 +08:00