Skip to content

Commit 9bcb60f

Browse files
committed
...
1 parent cd654aa commit 9bcb60f

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/tritonservercppsharp.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,20 +40,21 @@ jobs:
4040
bash build/build.sh generate -configuration Release -platform $PLATFORM
4141
bash build/build.sh download_llvm -platform $PLATFORM
4242
bash build/build.sh restore -platform $PLATFORM
43-
bash build/build.sh -platform $PLATFORM -build_only
43+
bash build/build.sh -platform $PLATFORM -build_only -target-framework 8.0
4444
find bin
4545
4646
- name: Generating bindings
4747
run: |
4848
git clone --single-branch --depth 1 https://github.com/triton-inference-server/core
49+
dotnet --version
50+
dotnet --list-runtimes
4951
#"$HOME/.dotnet"
5052
DOTNET_ROOT=/usr/share/dotnet
51-
DOTNETSDKVER=$(dotnet --version)
52-
DOTNETFWKVER=$(dotnet --list-runtimes | grep Microsoft.NETCore.App | head -n 1 | cut -d " " -f2)
53+
DOTNETSDKVER=8.0.303
54+
DOTNETFWKVER=8.0.7
5355
DOTNETLIBDIR="$DOTNET_ROOT/shared/Microsoft.NETCore.App/$DOTNETFWKVER"
54-
dotnet --version
55-
dotnet --list-runtimes
56-
echo $DOTNETSDKVER $DOTNETFWKVER
56+
#DOTNETSDKVER=$(dotnet --version)
57+
#DOTNETFWKVER=$(dotnet --list-runtimes | grep Microsoft.NETCore.App | tail -n 1 | cut -d " " -f2)
5758
# -r:CppSharp/bin/Release_x64/CppSharp.dll -r:CppSharp/bin/Release_x64/CppSharp.AST.dll -r:CppSharp/bin/Release_x64/CppSharp.Parser.dll
5859
5960
#echo 'namespace ProgramNamespace { public static class Program { public static void Main(string[] args) { System.Console.WriteLine("Hello world!"); } } }' > footest.cs

0 commit comments

Comments
 (0)