first try migrating one of the arm builds from travis
This commit is contained in:
parent
95e2cf32e1
commit
3a49e8c05a
|
@ -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.
|
docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
||||||
echo See https://aka.ms/yaml
|
ls /proc/sys/fs/binfmt_misc/
|
||||||
displayName: 'Run a multi-line script'
|
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…
Reference in New Issue