Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
Add macOS environment to CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Gems Guo authored and goooxu committed Nov 30, 2018
1 parent 495f650 commit d2f0638
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
jobs:

- job: 'Install_through_source_code'
- job: 'Ubuntu_16_04'
pool:
vmImage: 'Ubuntu 16.04'
strategy:
Expand All @@ -21,4 +21,27 @@ jobs:
- script: |
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'

0 comments on commit d2f0638

Please sign in to comment.