Commit Graph

30 Commits

Author SHA1 Message Date
Brennan Ashton
5d872e09e6 Remove depricated usage of set-env in GitHub
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-11-08 19:38:59 -08:00
Xiang Xiao
96d1f018c4 build.yml: Switch avr-mips-riscv-x86-xtensa.dat to other.dat
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-10-29 01:06:57 -07:00
Brennan Ashton
162da1169e CI: Store artifacts durring build
Add new option -A is added to tools/testbuild.sh that will take the
created build executable and store it in a folder for the config
that generated it under $ARTIFACTDIR which can be set via an
environment variable or defaulted to $(TOPDIR)/buildartifacts

This is also helpful for local testing because you can now run
tools/testbuild.sh -A sim.dat and have all of the simulation
targets generated without having to rebuild along the way.

In the GitHub Actions workflow the artifacs are uploaded
two two bundles one for macOS and one for Linux

Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-10-28 11:32:21 -07:00
Bhindhiya
73f0530912 Add Renesas pre-check 2020-09-30 18:22:16 +08:00
Matias N
7d16090d11 Fix testbuild.sh to actually fail when using -x. Leave -x out for CI
so that we detect all possible build errors for a job.
2020-09-13 10:29:13 -07:00
Matias N
dbf58162db CI: remove use of source cache, use artifacts instead 2020-09-11 12:54:37 -07:00
Brennan Ashton
3d07d453e0 CI: Disable keeping ccache across builds
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-09-11 10:03:15 +08:00
Brennan Ashton
7549e2e9de CI: Enable ccache for Linux and MacOS builds 2020-09-06 11:10:21 +08:00
Brennan Ashton
74aec1c424 CI: Move fetch of tags back to source stage now that cache is faster
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-09-03 10:10:41 +08:00
Matias N
4276d6254a rename doc/ -> Documentation/ 2020-08-24 10:29:55 -07:00
Matias N
5e1dab36c6 sphinx doc 2020-08-24 10:29:55 -07:00
Brennan Ashton
1a90a933df Revert "REMOVE ME: Force build of AVR in test"
This reverts commit f27fbe856d.
2020-07-19 16:55:15 -03:00
Brennan Ashton
f27fbe856d REMOVE ME: Force build of AVR in test 2020-07-19 15:49:13 -03:00
Ouss4
f66ead9ca3 Update the boards matrix to add AVR builds. 2020-07-19 10:57:54 -03:00
Brennan Ashton
0430c6ccc8 Add problem matching for gcc and nxstyle to github actions 2020-06-11 00:52:55 +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
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
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
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