Commit Graph

32 Commits

Author SHA1 Message Date
Brennan Ashton 0430c6ccc8 Add problem matching for gcc and nxstyle to github actions 2020-06-11 00:52:55 +08:00
liuhaitao b94a7698d9 Revert "CI: use 'git diff $commits' as a whole patchset to do checkpatch"
This reverts commit 350131d00e.

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:34 +08:00
liuhaitao 350131d00e 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:44:43 +08:00
Brennan Ashton 370eb169fd 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:26:51 +08:00
Xiang Xiao 8e2156859b build.yml: Remove all tail space character
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-01 23:12:41 -07:00
Xiang Xiao d6b24a4124 build.yml: Remove -G from cibuild.sh command line
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-28 21:28:15 -07:00
Gregory Nutt bd7217e21e Remove boilerplate from the PR template.
So far, the use of the new pull request template has been disastrous.  People are ignoring the writing instructions the template is polluting the PR history.  This change just removes the boilerplate and writing instructions fromt he template.  We don't need to see this unmodified serveral times per day.
2020-04-26 23:09:09 +01:00
Brennan Ashton 63b3737b77 CI: Add logic for determining which branches of OS App and Testing repos should be used 2020-04-24 02:47:40 +08:00
Xiang Xiao af31fd45ae 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:31:14 -06:00
David Sidrane a59ae5536c github: Add PR Template 2020-04-19 08:09:19 -06:00
Xiang Xiao 4b37d0b200 build.yml: Remove the tail space
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-18 14:05:23 +01:00
Brennan Ashton 6acaf2afaa Add retry to pull docker image
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-04-18 01:48:37 +08:00
liuhaitao b33c339c8a CI: refine checkpatch commits in check.yml
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-04-16 21:08:54 +08:00
YAMAMOTO Takashi 9d064cb58b Rename workflows to match build.yml 2020-04-15 14:43:36 +08:00
YAMAMOTO Takashi f3f4b20538 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 14:43:36 +08:00
YAMAMOTO Takashi e80fe4ba3d CI: build arm-11 instead of arm-13 for macOS
Sync with https://github.com/apache/incubator-nuttx-apps/pull/173
2020-04-14 16:59:20 +08:00
YAMAMOTO Takashi 9c14b9c6e0 CI: Add macOS builds
This is a sync from testing repo.
2020-04-09 14:59:58 +08:00
YAMAMOTO Takashi dfe11b58d7 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:10:19 -07:00
liuhaitao c9be02d628 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:25:48 +08:00
liuhaitao 102ff8ddd4 CI: update matrix boards accordingly since testlist updated
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-04-01 14:43:34 +08:00
YAMAMOTO Takashi dba6f42626 CI: Change the workflow name for build.yml 2020-04-01 00:02:24 +08:00
YAMAMOTO Takashi 5e93ea5391 CI: rename main.yml to build.yml 2020-04-01 00:02:24 +08:00
YAMAMOTO Takashi b6bfe04102 check.yml: Reduce differences from apps 2020-04-01 00:02:24 +08:00
YAMAMOTO Takashi e521ddb3dc CI: Use actions from testing repo 2020-04-01 00:02:24 +08:00
YAMAMOTO Takashi b30b942417 CI: Specify this repository explicitly
So that it can be shared with other repos.
2020-04-01 00:02:24 +08:00
YAMAMOTO Takashi 9c3c1d0a7a Separate workflow into a few files
To make it simpler to sync with testing repo.
2020-04-01 00:02:24 +08:00
Brennan Ashton f787df1d38 Pull the ESP32 binary blobs from a configurable path 2020-03-28 06:58:35 -05:00
Brennan Ashton 47dc68aa45 Use new images 2020-03-28 06:58:35 -05:00
Brennan Ashton a3ac217e56 Add a GH Actions build job for generating the inlined html documentaion to be published on the wiki
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-03-18 00:44:08 -05:00
liuhaitao 30b9003103 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:24:49 -05:00
liuhaitao 722de0f4f1 Remove the additional apps checkout step for PR check job
Remove the apps checkout step to save check job time.

Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-03-09 20:46:13 -05:00
liuhaitao d7fa6a9090 Initial checkin nuttx 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:09:53 -06:00