Skip to content

Commit

Permalink
Merge pull request #2129 from martin-frbg/armv8azure
Browse files Browse the repository at this point in the history
Move ARMv8/gcc CI job from Travis to Azure
  • Loading branch information
martin-frbg committed May 12, 2019
2 parents ff1bfe7 + 4306828 commit 63554d5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,16 +193,12 @@ matrix:
-D CMAKE_BUILD_TYPE=Release ../ && \
cmake --build ." > Dockerfile
docker build .
- <<: *emulated-arm
env: IMAGE_ARCH=arm64 TARGET_ARCH=ARMV8 COMPILER=gcc
name: "Emulated Build for ARMV8 with gcc"
- <<: *emulated-arm
env: IMAGE_ARCH=arm64 TARGET_ARCH=ARMV8 COMPILER=clang
name: "Emulated Build for ARMV8 with clang"

allow_failures:
- env: IMAGE_ARCH=arm32 TARGET_ARCH=ARMV6 COMPILER=clang
- env: IMAGE_ARCH=arm64 TARGET_ARCH=ARMV8 COMPILER=gcc
- env: IMAGE_ARCH=arm64 TARGET_ARCH=ARMV8 COMPILER=clang

# whitelist
Expand Down
20 changes: 20 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,26 @@ jobs:
cmake --build ." > Dockerfile
docker build .
displayName: Run ARMV6 docker build
- job: ARMv8_gcc
pool:
vmImage: 'ubuntu-16.04'
steps:
- script: |
docker run --rm --privileged multiarch/qemu-user-static:register --reset
echo "FROM openblas/alpine:arm64
COPY . /tmp/openblas
RUN mkdir /tmp/openblas/build && \
cd /tmp/openblas/build && \
CC=gcc cmake -D DYNAMIC_ARCH=OFF \
-D TARGET=ARMV8 \
-D NOFORTRAN=ON \
-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 .
displayName: Run ARMV8 docker build
# manylinux1 is useful to test because the
# standard Docker container uses an old version
# of gcc / glibc
Expand Down

0 comments on commit 63554d5

Please sign in to comment.