add OSX docker build

This commit is contained in:
Martin Kroeker 2022-04-23 16:05:45 +02:00 committed by GitHub
parent 18b19d135b
commit aef5da6582
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 2 deletions

View File

@ -137,8 +137,19 @@ jobs:
cmake --build . --config Release
ctest
- job: OSX_docker
pool:
vmImage: 'macOS-10.15'
steps:
- script: |
echo "FROM python:2.7.16
COPY . /tmp/openblas
RUN apt-get update \
&& apt-get install -y swig gfortran llvm cmake ncurses-dev \
libreadline7 libreadline-dev nano git
RUN cd /tmp/openblas && make FC=gfortran" > Dockerfile
docker build .
- job: OSX_OpenMP
pool:
vmImage: 'macOS-10.15'