Browse Source

first try migrating one of the arm builds from travis

tags/v0.3.7
Martin Kroeker GitHub 6 years ago
parent
commit
3a49e8c05a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 23 additions and 3 deletions
  1. +23
    -3
      azure-pipelines.yml

+ 23
- 3
azure-pipelines.yml View File

@@ -14,6 +14,26 @@ steps:
displayName: 'Run a one-line script' displayName: 'Run a one-line script'


- 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'

Loading…
Cancel
Save