-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update csharp infra #397
base: main
Are you sure you want to change the base?
update csharp infra #397
Conversation
# docker_volumns: | ||
# - /tmp/.nuget/packages:/root/.nuget/packages | ||
include: dotnet_preview | ||
build: dotnet publish -c Release -r linux-x64 -f net7 --self-contained true -p:PublishSingleFile=true -o out # -p:PublishReadyToRun=true | ||
build: dotnet publish -c Release -r linux-x64 -f net8 --self-contained true -p:PublishSingleFile=true -o out # -p:PublishReadyToRun=true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we could target net7 just as well, but bench\include\dotnet_preview\app.csproj targets net8 so I had to change one or the other.
@@ -3,4 +3,4 @@ | |||
curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc | |||
sudo apt-add-repository https://packages.microsoft.com/ubuntu/22.04/prod | |||
sudo apt-get update | |||
sudo apt-get install -y libmsquic zlib1g-dev | |||
sudo apt-get install -y libmsquic zlib1g-dev clang |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
haven't validated this is sufficient to get nativeaot to build in the container. if necessary we can remove it from bench.yml for now as the other changes should be fine.
@hanabi1224 could you unblock the validation workflow maybe? no hurry though :) |
3fc55d3
to
d70acc7
Compare
@@ -73,10 +77,10 @@ environments: | |||
compiler: dotnet | |||
version: 7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
possibly this should be 8 too, but I guess it works.
The tests timed out after 5 hours but the log only showed a couple mins of run time... |
@hanabi1224 I think it needs your okay again. |
@hanabi1224 ? 😀 |
enable numbers for preview and nativeaot
change preview to actually use preview docker image
add necessary nativeaot dependency to image (clang)
minor readme updates
uncomment scenarios for preview
add multiproc versions of regex-redux so we get both sets of numbers
Note: I haven't got bench.yml to work locally so I haven't verified that clang is all that's needed for nativeaot.