-
Notifications
You must be signed in to change notification settings - Fork 146
update csharp infra #397
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
base: main
Are you sure you want to change the base?
update csharp infra #397
Changes from 1 commit
86f0dca
f8f3d5f
9ff3601
5e4e795
54dc319
9c2d16c
785a937
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,8 @@ jobs: | |
codon, | ||
cpp, | ||
csharp, | ||
csharp_preview, | ||
csharp_native_aot, | ||
crystal, | ||
d, | ||
dart, | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1,72 @@ | ||
lang: csharp | ||
enabled: false | ||
lang: csharp_preview | ||
problems: | ||
# - name: helloworld | ||
# source: | ||
# - 1.cs | ||
# - name: binarytrees | ||
# source: | ||
# - 1.cs | ||
# - name: merkletrees | ||
# source: | ||
# - 1.cs | ||
# - 2.cs | ||
# - name: nbody | ||
# source: | ||
# - 8.cs | ||
# - 9.cs | ||
# - name: spectral-norm | ||
# source: | ||
# - 3.cs | ||
# - name: pidigits | ||
# source: | ||
# - 1.cs | ||
# - name: edigits | ||
# source: | ||
# - 1.cs | ||
# - name: fannkuch-redux | ||
# source: | ||
# # - 9.cs | ||
# - name: fasta | ||
# source: | ||
# - 5.cs | ||
# - name: knucleotide | ||
# source: | ||
# - 6.cs | ||
- name: helloworld | ||
source: | ||
- 1.cs | ||
- name: binarytrees | ||
source: | ||
- 1.cs | ||
- name: merkletrees | ||
source: | ||
- 1.cs | ||
- 2.cs | ||
- name: nbody | ||
source: | ||
- 8.cs | ||
- 9.cs | ||
- name: spectral-norm | ||
source: | ||
- 3.cs | ||
- name: pidigits | ||
source: | ||
- 1.cs | ||
- name: edigits | ||
source: | ||
- 1.cs | ||
- name: fannkuch-redux | ||
source: | ||
# - 9.cs | ||
- name: fasta | ||
source: | ||
- 5.cs | ||
- name: knucleotide | ||
source: | ||
- 6.cs | ||
- name: regex-redux | ||
source: | ||
- 5.cs | ||
# - 5p.cs | ||
# - name: mandelbrot | ||
# source: | ||
# - 1.cs | ||
# - 2.cs | ||
# - 3.cs | ||
# - name: json-serde | ||
# source: | ||
# - 1.cs | ||
# - 2.cs | ||
# - name: coro-prime-sieve | ||
# source: | ||
# - 1.cs | ||
- 5-m.cs | ||
- 6.cs | ||
- 6-m.cs | ||
- name: mandelbrot | ||
source: | ||
- 1.cs | ||
- 2.cs | ||
- 3.cs | ||
- name: json-serde | ||
source: | ||
- 1.cs | ||
- 2.cs | ||
- name: coro-prime-sieve | ||
source: | ||
- 1.cs | ||
- name: http-server | ||
source: | ||
- 1.cs | ||
- 2.cs | ||
- 2-http2.cs | ||
- 2-http3.cs | ||
# - name: nsieve | ||
# source: | ||
# - 1.cs | ||
# - 2.cs | ||
# - name: lru | ||
# source: | ||
# - 1.cs | ||
# - 2.cs | ||
# - name: secp256k1 | ||
# source: | ||
# - 1.cs | ||
- name: nsieve | ||
source: | ||
- 1.cs | ||
- 2.cs | ||
- name: lru | ||
source: | ||
- 1.cs | ||
- 2.cs | ||
- name: secp256k1 | ||
source: | ||
- 1.cs | ||
compiler_version_command: | ||
compiler_version_regex: | ||
runtime_version_parameter: | ||
|
@@ -73,10 +77,10 @@ environments: | |
compiler: dotnet | ||
version: 7 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. possibly this should be 8 too, but I guess it works. |
||
compiler_version_command: dotnet --version | ||
docker: mcr.microsoft.com/dotnet/sdk:7.0 | ||
docker: mcr.microsoft.com/dotnet/sdk:8.0-preview | ||
# 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 commentThe 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. |
||
out_dir: out | ||
run_cmd: app |
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.