You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/03/31 16:02:35 UTC

[incubator-nuttx] branch master updated (f8f5830 -> dba6f42)

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git.


    from f8f5830  xtensa: Implement CONFIG_ARCH_IDLE_CUSTOM
     new 9c3c1d0  Separate workflow into a few files
     new b30b942  CI: Specify this repository explicitly
     new e521ddb  CI: Use actions from testing repo
     new b6bfe04  check.yml: Reduce differences from apps
     new 5e93ea5  CI: rename main.yml to build.yml
     new dba6f42  CI: Change the workflow name for build.yml

The 6 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/actions/ci-container/action.yaml  | 20 -------------
 .github/workflows/{main.yml => build.yml} | 48 +++----------------------------
 .github/workflows/check.yml               | 37 ++++++++++++++++++++++++
 .github/workflows/doc.yml                 | 39 +++++++++++++++++++++++++
 4 files changed, 80 insertions(+), 64 deletions(-)
 delete mode 100644 .github/actions/ci-container/action.yaml
 rename .github/workflows/{main.yml => build.yml} (58%)
 create mode 100644 .github/workflows/check.yml
 create mode 100644 .github/workflows/doc.yml


[incubator-nuttx] 03/06: CI: Use actions from testing repo

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit e521ddb3dcd4e53b85d29274e23a7479f97a933b
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Tue Mar 31 15:10:41 2020 +0900

    CI: Use actions from testing repo
---
 .github/actions/ci-container/action.yaml | 20 --------------------
 .github/workflows/main.yml               |  4 ++--
 2 files changed, 2 insertions(+), 22 deletions(-)

diff --git a/.github/actions/ci-container/action.yaml b/.github/actions/ci-container/action.yaml
deleted file mode 100644
index f2cc614..0000000
--- a/.github/actions/ci-container/action.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-name: ci-container
-runs:
-  using: 'docker'
-  image: 'docker.pkg.github.com/apache/incubator-nuttx-testing/nuttx-ci-linux'
-  args:
-    - "-c"
-    - ${{ inputs.run }}
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 99792ac..301096b 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -58,10 +58,10 @@ jobs:
         password: ${{ secrets.GITHUB_TOKEN }}
 
     - name: Run Pull Container
-      uses: ./nuttx/.github/actions/ci-container
+      uses: ./testing/.github/actions/ci-container
 
     - name: Run builds
-      uses: ./nuttx/.github/actions/ci-container
+      uses: ./testing/.github/actions/ci-container
       env:
         BLOBDIR: /tools/blobs
       with:


[incubator-nuttx] 06/06: CI: Change the workflow name for build.yml

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit dba6f426265a7d526fea461d4c6883f10820c41e
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Wed Apr 1 00:34:04 2020 +0900

    CI: Change the workflow name for build.yml
---
 .github/workflows/build.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 301096b..94c58c9 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -10,7 +10,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
-name: PR Check CI
+name: PR Check CI (build)
 
 on:
   pull_request:


[incubator-nuttx] 02/06: CI: Specify this repository explicitly

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit b30b9424176db5a617dde7bed68446fb379780e7
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Tue Mar 31 15:08:32 2020 +0900

    CI: Specify this repository explicitly
    
    So that it can be shared with other repos.
---
 .github/workflows/main.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 56526a4..99792ac 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -28,6 +28,7 @@ jobs:
     - name: Checkout nuttx repo
       uses: actions/checkout@v2
       with:
+        repository: apache/incubator-nuttx
         path: nuttx
         fetch-depth: 0
 


[incubator-nuttx] 04/06: check.yml: Reduce differences from apps

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit b6bfe0410208bbc8dd9481e655bcebd59cfbddec
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Tue Mar 31 15:17:30 2020 +0900

    check.yml: Reduce differences from apps
---
 .github/workflows/check.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
index 7627686..9511542 100644
--- a/.github/workflows/check.yml
+++ b/.github/workflows/check.yml
@@ -23,6 +23,7 @@ jobs:
     - name: Checkout nuttx repo
       uses: actions/checkout@v2
       with:
+        repository: apache/incubator-nuttx
         path: nuttx
         fetch-depth: 0
 
@@ -32,5 +33,5 @@ jobs:
         ranges=`git log -1 --merges --pretty=format:%P | awk -F" " '{ print $1 ".." $2 }'`
         git log --oneline $ranges
         commits=`git log --reverse --format=format:%H $ranges`
-        echo "./tools/checkpatch.sh -g $commits"
-        ./tools/checkpatch.sh -g $commits
+        echo "../nuttx/tools/checkpatch.sh -g $commits"
+        ../nuttx/tools/checkpatch.sh -g $commits


[incubator-nuttx] 01/06: Separate workflow into a few files

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 9c3c1d0a7a685754ef71d1be778b208fe6a265c3
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Tue Mar 31 15:04:35 2020 +0900

    Separate workflow into a few files
    
    To make it simpler to sync with testing repo.
---
 .github/workflows/check.yml | 36 ++++++++++++++++++++++++++++++++++++
 .github/workflows/doc.yml   | 39 +++++++++++++++++++++++++++++++++++++++
 .github/workflows/main.yml  | 41 -----------------------------------------
 3 files changed, 75 insertions(+), 41 deletions(-)

diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
new file mode 100644
index 0000000..7627686
--- /dev/null
+++ b/.github/workflows/check.yml
@@ -0,0 +1,36 @@
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+name: PR Check CI (check)
+
+on:
+  pull_request:
+
+jobs:
+  check:
+    runs-on: ubuntu-18.04
+
+    steps:
+    - name: Checkout nuttx repo
+      uses: actions/checkout@v2
+      with:
+        path: nuttx
+        fetch-depth: 0
+
+    - name: Check Pull Request
+      run: |
+        cd nuttx
+        ranges=`git log -1 --merges --pretty=format:%P | awk -F" " '{ print $1 ".." $2 }'`
+        git log --oneline $ranges
+        commits=`git log --reverse --format=format:%H $ranges`
+        echo "./tools/checkpatch.sh -g $commits"
+        ./tools/checkpatch.sh -g $commits
diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml
new file mode 100644
index 0000000..5f2ae2f
--- /dev/null
+++ b/.github/workflows/doc.yml
@@ -0,0 +1,39 @@
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+name: PR Check CI (doc)
+
+on:
+  pull_request:
+
+jobs:
+  docs:
+    runs-on: ubuntu-18.04
+    steps:
+    - uses: actions/checkout@v2
+      with:
+        path: nuttx
+        fetch-depth: 1
+    - name: Generate Inlined Docs
+      run: |
+        echo "Inline Docs"
+        npm install --no-audit inliner
+        inliner=`pwd`/node_modules/inliner/cli/index.js
+        build_output=`pwd`/build
+        mkdir $build_output
+        cd nuttx/Documentation
+        find ./ -type f -name "*.html" -exec  script -e -c "$inliner {} > $build_output/{}" \;
+        ls -l $build_output/
+    - uses: actions/upload-artifact@v1
+      with:
+        name: htmldocs
+        path: ./build/
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 9e07b2d2..56526a4 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -16,47 +16,6 @@ on:
   pull_request:
 
 jobs:
-  check:
-    runs-on: ubuntu-18.04
-
-    steps:
-    - name: Checkout nuttx repo
-      uses: actions/checkout@v2
-      with:
-        path: nuttx
-        fetch-depth: 0
-
-    - name: Check Pull Request
-      run: |
-        cd nuttx
-        ranges=`git log -1 --merges --pretty=format:%P | awk -F" " '{ print $1 ".." $2 }'`
-        git log --oneline $ranges
-        commits=`git log --reverse --format=format:%H $ranges`
-        echo "./tools/checkpatch.sh -g $commits"
-        ./tools/checkpatch.sh -g $commits
-
-  docs:
-    runs-on: ubuntu-18.04
-    steps:
-    - uses: actions/checkout@v2
-      with:
-        path: nuttx
-        fetch-depth: 1
-    - name: Generate Inlined Docs
-      run: |
-        echo "Inline Docs"
-        npm install --no-audit inliner
-        inliner=`pwd`/node_modules/inliner/cli/index.js
-        build_output=`pwd`/build
-        mkdir $build_output
-        cd nuttx/Documentation
-        find ./ -type f -name "*.html" -exec  script -e -c "$inliner {} > $build_output/{}" \;
-        ls -l $build_output/
-    - uses: actions/upload-artifact@v1
-      with:
-        name: htmldocs
-        path: ./build/
-
   build:
     runs-on: ubuntu-18.04
     env:


[incubator-nuttx] 05/06: CI: rename main.yml to build.yml

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 5e93ea5391b7a093857e7fb8ca762f20c240432a
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Wed Apr 1 00:31:46 2020 +0900

    CI: rename main.yml to build.yml
---
 .github/workflows/{main.yml => build.yml} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/.github/workflows/main.yml b/.github/workflows/build.yml
similarity index 100%
rename from .github/workflows/main.yml
rename to .github/workflows/build.yml