Skip to content

Commit be11ca8

Browse files
committed
...
1 parent 431d5d1 commit be11ca8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/tritonservercppsharp.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,15 @@ jobs:
5050
run: |
5151
git clone --single-branch --depth 1 https://github.com/triton-inference-server/core
5252
#"$HOME/.dotnet"
53-
dotnet --version
54-
dotnet --list-runtimes
55-
ls $DOTNET_ROOT/sdk
5653
DOTNET_ROOT=/usr/share/dotnet
5754
DOTNETSDKVER=$(dotnet --version)
5855
DOTNETFWKVER=$(dotnet --list-runtimes | grep Microsoft.NETCore.App | tail -n 1 | cut -d " " -f2)
5956
DOTNETLIBDIR="$DOTNET_ROOT/shared/Microsoft.NETCore.App/$DOTNETFWKVER"
57+
dotnet --version
58+
dotnet --list-runtimes
59+
ls $DOTNET_ROOT/sdk
6060
echo $DOTNETSDKVER $DOTNETFWKVER
61+
find CppSharp/bin/ -name "*.dll"
6162
# -r:CppSharp/bin/Release_x64/CppSharp.dll -r:CppSharp/bin/Release_x64/CppSharp.AST.dll -r:CppSharp/bin/Release_x64/CppSharp.Parser.dll
6263
export LD_LIBRARY_PATH=CppSharp/bin/Release_x64/
6364
dotnet "$DOTNET_ROOT/sdk/$DOTNETSDKVER/Roslyn/bincore/csc.dll" $(find "$DOTNETLIBDIR" -name "*.dll" -printf '-r:"%p" ') $(find CppSharp/bin/ -name "*.dll" -printf '-r:"%p" ') -target:library -out:tritonservercppsharptest.exe tritonservercppsharp.cs

0 commit comments

Comments
 (0)