Commit d2f06385 authored by Gems Guo's avatar Gems Guo Committed by goooxu
Browse files

Add macOS environment to CI pipeline

parent 495f650c
jobs:
- job: 'Install_through_source_code'
- job: 'Ubuntu_16_04'
pool:
vmImage: 'Ubuntu 16.04'
strategy:
......@@ -22,3 +22,26 @@ jobs:
cd test
PATH=$HOME/.local/bin:$PATH python3 sdk_test.py
displayName: 'Built-in tuner tests'
- job: 'macOS_10_13'
pool:
vmImage: 'macOS 10.13'
strategy:
matrix:
Python36:
PYTHON_VERSION: '3.6'
steps:
- script: python3 -m pip install --upgrade pip setuptools
displayName: 'Install python tools'
- script: |
source install.sh
displayName: 'Install nni toolkit via source code'
- script: |
cd test
PATH=$HOME/Library/Python/3.7/bin:$PATH python3 naive_test.py
displayName: 'Integration tests'
- script: |
cd test
PATH=$HOME/Library/Python/3.7/bin:$PATH python3 sdk_test.py
displayName: 'Built-in tuner tests'
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment