first try migrating one of the arm builds from travis
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Wed, 8 May 2019 11:52:22 +0000 (13:52 +0200)
committerGitHub <noreply@github.com>
Wed, 8 May 2019 11:52:22 +0000 (13:52 +0200)
azure-pipelines.yml

index aa91291..87b4de3 100644 (file)
@@ -14,6 +14,26 @@ steps:
   displayName: 'Run a one-line script'
 
 - script: |
-    echo Add other tasks to build, test, and deploy your project.
-    echo See https://aka.ms/yaml
-  displayName: 'Run a multi-line script'
+  docker run --rm --privileged multiarch/qemu-user-static:register --reset
+  ls /proc/sys/fs/binfmt_misc/
+  condition: not(startsWith(variables['CONFIG'], 'linux_64'))
+  displayName: Configure binfmt_misc
+
+- script: |
+  echo "FROM openblas/alpine:arm32
+        COPY . /tmp/openblas
+        RUN mkdir /tmp/openblas/build                             &&  \
+            cd /tmp/openblas/build                                &&  \
+            CC=gcc cmake -D DYNAMIC_ARCH=OFF                  \
+                                 -D TARGET=ARMV6             \
+                                 -D BUILD_SHARED_LIBS=ON              \
+                                 -D BUILD_WITHOUT_LAPACK=ON           \
+                                 -D BUILD_WITHOUT_CBLAS=ON            \
+                                 -D CMAKE_BUILD_TYPE=Release ../  &&  \
+            cmake --build ." > Dockerfile
+        docker build .
+
+#- script: |
+#    echo Add other tasks to build, test, and deploy your project.
+#    echo See https://aka.ms/yaml
+#  displayName: 'Run a multi-line script'