Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions archive/c/c-sharp/testinfo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ folder:
naming: "pascal"

container:
image: "mono"
tag: "5.18" # Cannot use slim because it does not contain mcs for compilation
build: "mcs -reference:System.Numerics {{ source.name}}{{ source.extension }}"
cmd: "mono {{ source.name }}.exe"
image: "mcr.microsoft.com/dotnet/sdk"
tag: "9.0"
build: |
bash -c "dotnet new console --language 'C#' && \
mv {{ source.name }}{{ source.extension }} Program.cs && \
dotnet build --sc"
cmd: "dotnet run --sc --no-restore"