nuttx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-nuttx-testing] yamt commented on a change in pull request #23: Add macOS builds
Date Thu, 02 Apr 2020 03:47:38 GMT
yamt commented on a change in pull request #23: Add macOS builds
URL: https://github.com/apache/incubator-nuttx-testing/pull/23#discussion_r402036099
 
 

 ##########
 File path: cibuild.sh
 ##########
 @@ -37,20 +47,39 @@ function python-tools {
   add_path $PYTHONUSERBASE/bin
 }
 
+function flock {
+  case $os in
+    Darwin)
+      brew tap discoteq/discoteq
+      brew install flock
+      ;;
+    Linux)
+      ;;
+  esac
+}
+
 function gen-romfs {
-  add_path $prebuilt/genromfs/usr/bin
-
-  if [ ! -f "$prebuilt/genromfs/usr/bin/genromfs" ]; then
-    if [ ! -d "$tools" ]; then
-      git clone https://bitbucket.org/nuttx/tools.git $tools
-    fi
-    mkdir -p $prebuilt; cd $tools
-    tar zxf genromfs-0.5.2.tar.gz -C $prebuilt
-    cd $prebuilt/genromfs-0.5.2
-    make install PREFIX=$prebuilt/genromfs
-    cd $prebuilt
-    rm -rf genromfs-0.5.2
-  fi
+  case $os in
+    Darwin)
+      brew tap PX4/homebrew-px4
 
 Review comment:
   done

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message