Skip to content

Commit

Permalink
More CI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
SChernykh committed Feb 12, 2024
1 parent 30df741 commit b310428
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
jobs:
build-alpine-static:

timeout-minutes: 120
timeout-minutes: 180
runs-on: ubuntu-22.04

strategy:
Expand Down Expand Up @@ -597,7 +597,7 @@ jobs:

build-freebsd:

timeout-minutes: 75
timeout-minutes: 180
runs-on: ${{ matrix.os.host }}

strategy:
Expand Down Expand Up @@ -666,7 +666,7 @@ jobs:

build-openbsd:

timeout-minutes: 75
timeout-minutes: 180
runs-on: ${{ matrix.os.host }}

strategy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ on:
jobs:
analyze:
name: Analyze
timeout-minutes: 60
timeout-minutes: 180
runs-on: ubuntu-latest
permissions:
actions: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cppcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
- name: Build cppcheck
run: |
cd cppcheck-main
& "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\Msbuild\\Current\\Bin\\amd64\\msbuild.exe" /m /p:Configuration=Release /p:Platform=x64
& "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\Msbuild\\Current\\Bin\\amd64\\msbuild.exe" -v:m /m /p:Configuration=Release /p:Platform=x64 lib\\cppcheck.vcxproj
- name: Setup cmake
uses: lukka/get-cmake@latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/msvc-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ env:
jobs:
analyze:
name: Analyze
timeout-minutes: 60
timeout-minutes: 180
runs-on: windows-latest

steps:
Expand Down
4 changes: 2 additions & 2 deletions src/crypto.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ class Cache : public nocopy_nomove
{
WriteLock lock(derivations_lock);

DerivationEntry& entry = derivations->emplace(index, DerivationEntry{ derivation, { 0xFFFFFFFFUL, 0xFFFFFFFFUL }, {}, t }).first->second;
entry.add_view_tag(static_cast<uint32_t>(output_index << 8) | view_tag);
auto entry = derivations->emplace(index, DerivationEntry{ derivation, { 0xFFFFFFFFUL, 0xFFFFFFFFUL }, {}, t }).first;
entry->second.add_view_tag(static_cast<uint32_t>(output_index << 8) | view_tag);
}

return true;
Expand Down

0 comments on commit b310428

Please sign in to comment.