Skip to content

Commit dd43610

Browse files
fix build error
1 parent 2be0fe1 commit dd43610

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

azure-pipelines.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,8 @@ jobs:
5757
# the generated libTorchSharp.so (and partly determines which Linux systems that binary will
5858
# be usable on), then installs clang-7.0 (LibTorch likes this for building C++ 14), then installs .NET 6.0
5959
prepScript: ${{ variables.LinuxPrepScript }}
60-
buildScript: |
61-
eval "$(~/miniconda3/bin/conda shell.bash hook)"
62-
source activate base
60+
buildScript: eval "$(~/miniconda3/bin/conda shell.bash hook)" &&
61+
source activate base &&
6362
dotnet build /p:SkipCuda=true -c
6463
testScript: dotnet test /p:SkipCuda=true --blame test/TorchSharpTest/TorchSharpTest.csproj -c
6564
pool:

0 commit comments

Comments
 (0)