mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-04 20:32:56 +00:00
fix: windows build and check ci check for windows (#2819)
This commit is contained in:
5
.github/workflows/develop.yml
vendored
5
.github/workflows/develop.yml
vendored
@@ -42,7 +42,10 @@ jobs:
|
||||
check:
|
||||
name: Check
|
||||
if: github.event.pull_request.draft == false
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ windows-latest-8-cores, ubuntu-20.04 ]
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
@@ -339,6 +339,7 @@ pub enum Error {
|
||||
source: crate::http::pprof::nix::Error,
|
||||
},
|
||||
|
||||
#[cfg(not(windows))]
|
||||
#[snafu(display("Failed to update jemalloc metrics"))]
|
||||
UpdateJemallocMetrics {
|
||||
#[snafu(source)]
|
||||
@@ -412,8 +413,10 @@ impl ErrorExt for Error {
|
||||
| TcpIncoming { .. }
|
||||
| CatalogError { .. }
|
||||
| GrpcReflectionService { .. }
|
||||
| BuildHttpResponse { .. }
|
||||
| UpdateJemallocMetrics { .. } => StatusCode::Internal,
|
||||
| BuildHttpResponse { .. } => StatusCode::Internal,
|
||||
|
||||
#[cfg(not(windows))]
|
||||
UpdateJemallocMetrics { .. } => StatusCode::Internal,
|
||||
|
||||
CollectRecordbatch { .. } => StatusCode::EngineExecuteQuery,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user