Update azure-pipelines.yml

This commit is contained in:
Martin Kroeker 2019-05-08 19:07:58 +02:00 committed by GitHub
parent dd77a3f0e2
commit ad20ceaa68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 7 deletions

View File

@ -13,14 +13,14 @@ steps:
- script: echo Hello, world! - script: echo Hello, world!
displayName: 'Run a one-line script' displayName: 'Run a one-line script'
- script: | #- script: |
docker run --rm --privileged multiarch/qemu-user-static:register --reset # docker run --rm --privileged multiarch/qemu-user-static:register --reset
# ls /proc/sys/fs/binfmt_misc/ # ls /proc/sys/fs/binfmt_misc/
# condition: not(startsWith(variables['CONFIG'], 'linux_64')) # condition: not(startsWith(variables['CONFIG'], 'linux_64'))
# displayName: 'Configure binfmt_misc' # displayName: 'Configure binfmt_misc'
- script: | - script: |
echo "FROM openblas/alpine:arm32 echo "FROM openblas/alpine:arm32
COPY . /tmp/openblas COPY . /tmp/openblas
RUN mkdir /tmp/openblas/build && \ RUN mkdir /tmp/openblas/build && \
cd /tmp/openblas/build && \ cd /tmp/openblas/build && \
@ -31,10 +31,8 @@ steps:
-D BUILD_WITHOUT_CBLAS=ON \ -D BUILD_WITHOUT_CBLAS=ON \
-D CMAKE_BUILD_TYPE=Release ../ && \ -D CMAKE_BUILD_TYPE=Release ../ && \
cmake --build ." > Dockerfile cmake --build ." > Dockerfile
docker build . docker build .
displayName: Run ARMV6 docker build
# displayName: 'Run ARMV6 docker build'
#- script: | #- script: |
# echo Add other tasks to build, test, and deploy your project. # echo Add other tasks to build, test, and deploy your project.