From 82db8acd03fa8ce9ca78e867fe5d86f8c22ca983 Mon Sep 17 00:00:00 2001 From: Yuge Zhang Date: Wed, 4 Mar 2020 18:59:50 +0800 Subject: [PATCH 1/4] update --- azure-pipelines.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 45dc10a976..cc139bc1a8 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -96,7 +96,9 @@ jobs: python3 -m pip install tensorflow==1.13.1 --user ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null brew install swig@3 + ls -al /usr/local/bin ln -s /usr/local/opt/swig\@3/bin/swig /usr/local/bin/swig + swig -version nnictl package install --name=SMAC displayName: 'Install dependencies' - script: | From b1f25c65a88f06fb6f565b68be73f75d92aa9b85 Mon Sep 17 00:00:00 2001 From: Yuge Zhang Date: Wed, 4 Mar 2020 19:15:19 +0800 Subject: [PATCH 2/4] upgrade macos and remove swig --- azure-pipelines.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index cc139bc1a8..ffef1581ea 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -77,7 +77,7 @@ jobs: - job: 'basic_test_pr_macOS' pool: - vmImage: 'macOS 10.13' + vmImage: 'macOS 10.15' strategy: matrix: Python36: @@ -94,9 +94,8 @@ jobs: python3 -m pip install torch==1.2.0 --user python3 -m pip install torchvision==0.4.0 --user python3 -m pip install tensorflow==1.13.1 --user - ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null brew install swig@3 - ls -al /usr/local/bin + rm /usr/local/bin/swig ln -s /usr/local/opt/swig\@3/bin/swig /usr/local/bin/swig swig -version nnictl package install --name=SMAC From ee143f94f9a7eafb9ef88ce9aca11405da02dcce Mon Sep 17 00:00:00 2001 From: Yuge Zhang Date: Wed, 4 Mar 2020 19:16:35 +0800 Subject: [PATCH 3/4] update macos version --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ffef1581ea..9d01c5de28 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -77,7 +77,7 @@ jobs: - job: 'basic_test_pr_macOS' pool: - vmImage: 'macOS 10.15' + vmImage: 'macOS-10.15' strategy: matrix: Python36: From 2305615fe38eecf5dcf9fc415239eddea60ea7e9 Mon Sep 17 00:00:00 2001 From: Yuge Zhang Date: Wed, 4 Mar 2020 19:37:28 +0800 Subject: [PATCH 4/4] clean up --- azure-pipelines.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 9d01c5de28..9bc6c582e6 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -97,7 +97,6 @@ jobs: brew install swig@3 rm /usr/local/bin/swig ln -s /usr/local/opt/swig\@3/bin/swig /usr/local/bin/swig - swig -version nnictl package install --name=SMAC displayName: 'Install dependencies' - script: |