Commit Graph

33 Commits

Author SHA1 Message Date
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
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
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
YAMAMOTO Takashi
1bfffc73ec CI: Use actions from testing repo 2020-04-01 00:10:36 +08:00
YAMAMOTO Takashi
2884f021dc main.yml: Reduce differences from other repos 2020-04-01 00:10:36 +08:00
YAMAMOTO Takashi
e6607179f8 CI: Separate the workflow into a few pieces 2020-04-01 00:10:36 +08:00
liuhaitao
5c9df7bc7a Use new docker image container and add xtensa arch build support
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-03-28 11:37:44 -05:00
liuhaitao
be3b314258 Update workflow to let build jobs do not depend on check nxstyle job
As discussion in https://github.com/apache/incubator-nuttx/pull/549 shows,
update github action workflow to let build jobs do not depend on nxstyle
check job in order to make sure each PR (including some nxstyle waiving cases)
be built at least.

Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-03-12 13:25:26 -05:00
liuhaitao
7f203759ca Initial checkin nuttx-apps github action CI workflow
Github action CI workflow steps as below:
1. Use docker container with build essential tools preinstalled
2. nxstyle check pull request with checkpatch.sh
3. Call testing cibuild.sh to do jobs matrix check builds

Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-03-06 11:35:52 -06:00