Skip to content
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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

danmoseley
Copy link
Contributor

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.

# 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
Copy link
Contributor Author

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
Copy link
Contributor Author

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.

@danmoseley
Copy link
Contributor Author

@hanabi1224 could you unblock the validation workflow maybe? no hurry though :)

@@ -73,10 +77,10 @@ environments:
compiler: dotnet
version: 7
Copy link
Contributor Author

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.

@danmoseley
Copy link
Contributor Author

The tests timed out after 5 hours but the log only showed a couple mins of run time...

@danmoseley danmoseley closed this Jul 18, 2023
@danmoseley danmoseley reopened this Jul 18, 2023
@danmoseley
Copy link
Contributor Author

@hanabi1224 I think it needs your okay again.

@danmoseley
Copy link
Contributor Author

@hanabi1224 ? 😀

@danmoseley
Copy link
Contributor Author

@hanabi1224

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants