-
-
Notifications
You must be signed in to change notification settings - Fork 225
build on linux arm64 #3700
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
build on linux arm64 #3700
Changes from 7 commits
bd5c0e0
ae6e4de
7c683f2
120e517
4fde227
ae77993
30b92d8
b699440
61f98b7
f766333
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 |
|---|---|---|
| @@ -0,0 +1,73 @@ | ||
| { | ||
| "solution": { | ||
| "path": "Sentry.sln", | ||
| "projects": [ | ||
| "benchmarks\\Sentry.Benchmarks\\Sentry.Benchmarks.csproj", | ||
| "samples\\Sentry.Samples.AspNetCore.Basic\\Sentry.Samples.AspNetCore.Basic.csproj", | ||
| "samples\\Sentry.Samples.AspNetCore.Blazor.Server\\Sentry.Samples.AspNetCore.Blazor.Server.csproj", | ||
| "samples\\Sentry.Samples.AspNetCore.Blazor.Wasm\\Sentry.Samples.AspNetCore.Blazor.Wasm.csproj", | ||
| "samples\\Sentry.Samples.AspNetCore.Grpc\\Sentry.Samples.AspNetCore.Grpc.csproj", | ||
| "samples\\Sentry.Samples.AspNetCore.Mvc\\Sentry.Samples.AspNetCore.Mvc.csproj", | ||
| "samples\\Sentry.Samples.AspNetCore.Serilog\\Sentry.Samples.AspNetCore.Serilog.csproj", | ||
| "samples\\Sentry.Samples.AspNetCore.WebAPI.Profiling\\Sentry.Samples.AspNetCore.WebAPI.Profiling.csproj", | ||
| "samples\\Sentry.Samples.Aws.Lambda.AspNetCoreServer\\Sentry.Samples.Aws.Lambda.AspNetCoreServer.csproj", | ||
| "samples\\Sentry.Samples.Azure.Functions.Worker\\Sentry.Samples.Azure.Functions.Worker.csproj", | ||
| "samples\\Sentry.Samples.Console.Basic\\Sentry.Samples.Console.Basic.csproj", | ||
| "samples\\Sentry.Samples.Console.Customized\\Sentry.Samples.Console.Customized.csproj", | ||
| "samples\\Sentry.Samples.Console.HeapDump\\Sentry.Samples.Console.HeapDump.csproj", | ||
| "samples\\Sentry.Samples.Console.Native\\Sentry.Samples.Console.Native.csproj", | ||
| "samples\\Sentry.Samples.Console.Profiling\\Sentry.Samples.Console.Profiling.csproj", | ||
| "samples\\Sentry.Samples.EntityFramework\\Sentry.Samples.EntityFramework.csproj", | ||
| "samples\\Sentry.Samples.GenericHost\\Sentry.Samples.GenericHost.csproj", | ||
| "samples\\Sentry.Samples.Google.Cloud.Functions\\Sentry.Samples.Google.Cloud.Functions.csproj", | ||
| "samples\\Sentry.Samples.GraphQL.Client.Http\\Sentry.Samples.GraphQL.Client.Http.csproj", | ||
| "samples\\Sentry.Samples.GraphQL.Server\\Sentry.Samples.GraphQL.Server.csproj", | ||
| "samples\\Sentry.Samples.Hangfire\\Sentry.Samples.Hangfire.csproj", | ||
| "samples\\Sentry.Samples.Log4Net\\Sentry.Samples.Log4Net.csproj", | ||
| "samples\\Sentry.Samples.ME.Logging\\Sentry.Samples.ME.Logging.csproj", | ||
| "samples\\Sentry.Samples.NLog\\Sentry.Samples.NLog.csproj", | ||
| "samples\\Sentry.Samples.OpenTelemetry.AspNetCore\\Sentry.Samples.OpenTelemetry.AspNetCore.csproj", | ||
| "samples\\Sentry.Samples.OpenTelemetry.Console\\Sentry.Samples.OpenTelemetry.Console.csproj", | ||
| "samples\\Sentry.Samples.Serilog\\Sentry.Samples.Serilog.csproj", | ||
| "src\\Sentry.Analyzers\\Sentry.Analyzers.csproj", | ||
| "src\\Sentry.AspNetCore.Blazor.WebAssembly\\Sentry.AspNetCore.Blazor.WebAssembly.csproj", | ||
| "src\\Sentry.AspNetCore.Grpc\\Sentry.AspNetCore.Grpc.csproj", | ||
| "src\\Sentry.AspNetCore\\Sentry.AspNetCore.csproj", | ||
| "src\\Sentry.Azure.Functions.Worker\\Sentry.Azure.Functions.Worker.csproj", | ||
| "src\\Sentry.DiagnosticSource\\Sentry.DiagnosticSource.csproj", | ||
| "src\\Sentry.EntityFramework\\Sentry.EntityFramework.csproj", | ||
| "src\\Sentry.Extensions.Logging\\Sentry.Extensions.Logging.csproj", | ||
| "src\\Sentry.Google.Cloud.Functions\\Sentry.Google.Cloud.Functions.csproj", | ||
| "src\\Sentry.Hangfire\\Sentry.Hangfire.csproj", | ||
| "src\\Sentry.Log4Net\\Sentry.Log4Net.csproj", | ||
| "src\\Sentry.NLog\\Sentry.NLog.csproj", | ||
| "src\\Sentry.OpenTelemetry\\Sentry.OpenTelemetry.csproj", | ||
| "src\\Sentry.Profiling\\Sentry.Profiling.csproj", | ||
| "src\\Sentry.Serilog\\Sentry.Serilog.csproj", | ||
| "src\\Sentry.SourceGenerators\\Sentry.SourceGenerators.csproj", | ||
| "src\\Sentry\\Sentry.csproj", | ||
| "test\\Sentry.Analyzers.Tests\\Sentry.Analyzers.Tests.csproj", | ||
| "test\\Sentry.AspNet.Tests\\Sentry.AspNet.Tests.csproj", | ||
| "test\\Sentry.AspNetCore.Grpc.Tests\\Sentry.AspNetCore.Grpc.Tests.csproj", | ||
| "test\\Sentry.AspNetCore.Tests\\Sentry.AspNetCore.Tests.csproj", | ||
| "test\\Sentry.AspNetCore.TestUtils\\Sentry.AspNetCore.TestUtils.csproj", | ||
| "test\\Sentry.Azure.Functions.Worker.Tests\\Sentry.Azure.Functions.Worker.Tests.csproj", | ||
| "test\\Sentry.DiagnosticSource.IntegrationTests\\Sentry.DiagnosticSource.IntegrationTests.csproj", | ||
| "test\\Sentry.DiagnosticSource.Tests\\Sentry.DiagnosticSource.Tests.csproj", | ||
| "test\\Sentry.EntityFramework.Tests\\Sentry.EntityFramework.Tests.csproj", | ||
| "test\\Sentry.Extensions.Logging.Tests\\Sentry.Extensions.Logging.Tests.csproj", | ||
| "test\\Sentry.Google.Cloud.Functions.Tests\\Sentry.Google.Cloud.Functions.Tests.csproj", | ||
| "test\\Sentry.Hangfire.Tests\\Sentry.Hangfire.Tests.csproj", | ||
| "test\\Sentry.Log4Net.Tests\\Sentry.Log4Net.Tests.csproj", | ||
| "test\\Sentry.NLog.Tests\\Sentry.NLog.Tests.csproj", | ||
| "test\\Sentry.OpenTelemetry.Tests\\Sentry.OpenTelemetry.Tests.csproj", | ||
| "test\\Sentry.Profiling.Tests\\Sentry.Profiling.Tests.csproj", | ||
| "test\\Sentry.Serilog.Tests\\Sentry.Serilog.Tests.csproj", | ||
| "test\\Sentry.SourceGenerators.Tests\\Sentry.SourceGenerators.Tests.csproj", | ||
| "test\\Sentry.Testing.CrashableApp\\Sentry.Testing.CrashableApp.csproj", | ||
| "test\\Sentry.Testing\\Sentry.Testing.csproj", | ||
| "test\\Sentry.Tests\\Sentry.Tests.csproj", | ||
| "test\\SingleFileTestApp\\SingleFileTestApp.csproj" | ||
| ] | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,7 +2,6 @@ | |
| Set-StrictMode -Version Latest | ||
| $ErrorActionPreference = 'Stop' | ||
| . $PSScriptRoot/common.ps1 | ||
| $IsLinuxMusl = $IsLinux -and (ldd --version 2>&1) -match 'musl' | ||
|
|
||
| Describe 'Console apps (<framework>) - normal build' -ForEach @( | ||
| @{ framework = "net8.0" } | ||
|
|
@@ -108,7 +107,7 @@ Describe 'Console apps (<framework>) - native AOT publish' -ForEach @( | |
|
|
||
| Describe 'MAUI' -ForEach @( | ||
| @{ framework = "net8.0" } | ||
| ) -Skip:$IsLinuxMusl { | ||
| ) -Skip:($env:NO_MOBILE -eq "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. Nice! |
||
| BeforeAll { | ||
| RegisterLocalPackage 'Sentry.Android.AssemblyReader' | ||
| RegisterLocalPackage 'Sentry.Bindings.Android' | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -49,6 +49,21 @@ filterConfigs: | |
| - "**/*DeviceTests*.csproj" | ||
| - "**/*Maui.Device.TestApp.csproj" | ||
|
|
||
| - outputPath: Sentry-CI-Build-Linux-arm64.slnf | ||
|
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. Would it be nicer to have something like 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. Btw, happy to do a separate follow-up later if that works... 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. This seems different then the other Linux though, no? Here we exclude Android too (not just tests)? 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. This is a copy of |
||
| include: | ||
| groups: | ||
| - "allProjects" | ||
| exclude: | ||
| groups: | ||
| - "macOnly" | ||
| - "windowsOnly" | ||
| - "artefacts" | ||
| - "trimTests" | ||
| patterns: | ||
| - "**/*Android*.csproj" | ||
| - "**/*DeviceTests*.csproj" | ||
| - "**/*Maui*.csproj" | ||
|
|
||
| - outputPath: Sentry-CI-Build-Linux-musl.slnf | ||
| include: | ||
| groups: | ||
|
|
||
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.
I wonder if there's a way to combine all of these "Download sentry-native" steps into a single step with some variables.... maybe not in this PR but we should think about refactoring this before it gets out of hand.