Skip to content

Commit

Permalink
Add --disable-check-for-update to cargo make invocations during build (
Browse files Browse the repository at this point in the history
  • Loading branch information
Mpdreamz committed Sep 20, 2023
1 parent 251c7b1 commit f93b908
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test-windows-iis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ jobs:
test-iis:
runs-on: windows-latest

# disable IIS on CI for now.
# Run locally and started failing randomly on github actions
# Could be because of plethora of reasons including no disk space
# Requires longer investigation
if: ${{ false }}

steps:
- uses: actions/checkout@v3
- name: Bootstrap Action Workspace
Expand Down
4 changes: 2 additions & 2 deletions build/scripts/Build.fs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ module Build =
/// Builds the CLR profiler and supporting .NET managed assemblies
let BuildProfiler () =
dotnet "build" (Paths.ProfilerProjFile "Elastic.Apm.Profiler.Managed")
Cargo.Exec [ "make"; "build-release"; ]
Cargo.Exec [ "make"; "build-release"; "--disable-check-for-update"]

/// Publishes all projects with framework versions
let Publish targets =
Expand Down Expand Up @@ -185,7 +185,7 @@ module Build =
if isWindows && not isCI then msBuild "Clean" aspNetFullFramework

let CleanProfiler () =
Cargo.Exec ["make"; "clean"]
Cargo.ExecWithTimeout ["make"; "clean"; "--disable-check-for-update"] (TimeSpan.FromMinutes 10)

/// Restores all packages for the solution
let ToolRestore () =
Expand Down

0 comments on commit f93b908

Please sign in to comment.