Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
d2f06385
Commit
d2f06385
authored
Nov 30, 2018
by
Gems Guo
Committed by
goooxu
Nov 30, 2018
Browse files
Add macOS environment to CI pipeline
parent
495f650c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
1 deletion
+24
-1
azure-pipelines.yml
azure-pipelines.yml
+24
-1
No files found.
azure-pipelines.yml
View file @
d2f06385
jobs
:
jobs
:
-
job
:
'
Install_through_source_code
'
-
job
:
'
Ubuntu_16_04
'
pool
:
pool
:
vmImage
:
'
Ubuntu
16.04'
vmImage
:
'
Ubuntu
16.04'
strategy
:
strategy
:
...
@@ -21,4 +21,27 @@ jobs:
...
@@ -21,4 +21,27 @@ jobs:
-
script
:
|
-
script
:
|
cd test
cd test
PATH=$HOME/.local/bin:$PATH python3 sdk_test.py
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'
displayName
:
'
Built-in
tuner
tests'
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment