Skip to content

Commit 2be0fe1

Browse files
fix build error
1 parent f64f433 commit 2be0fe1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

azure-pipelines.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,10 @@ 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: dotnet build /p:SkipCuda=true -c
60+
buildScript: |
61+
eval "$(~/miniconda3/bin/conda shell.bash hook)"
62+
source activate base
63+
dotnet build /p:SkipCuda=true -c
6164
testScript: dotnet test /p:SkipCuda=true --blame test/TorchSharpTest/TorchSharpTest.csproj -c
6265
pool:
6366
vmImage: 'ubuntu-latest'

0 commit comments

Comments
 (0)