Fix Windows simulators CI (#1743)

* update simulator cache key

* enable libbacktrace in hive simulators
This commit is contained in:
andri lim 2023-09-10 21:13:09 +07:00 committed by GitHub
parent 948c94763c
commit b7f0be5468
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ jobs:
uses: actions/cache@v3 uses: actions/cache@v3
with: with:
path: external/mingw-amd64 path: external/mingw-amd64
key: 'mingw-llvm-17-amd64' key: 'mingw-llvm-17-sim'
- name: Install llvm-mingw dependency (Windows) - name: Install llvm-mingw dependency (Windows)
if: > if: >

View File

@ -7,7 +7,7 @@ USE_SYSTEM_NIM=1
ENV_SCRIPT="vendor/nimbus-build-system/scripts/env.sh" ENV_SCRIPT="vendor/nimbus-build-system/scripts/env.sh"
# nimbus_db_backend:none -> we only use memory db in simulators # nimbus_db_backend:none -> we only use memory db in simulators
NIM_FLAGS="c -d:release -d:disable_libbacktrace -d:nimbus_db_backend:none" NIM_FLAGS="c -d:release -d:nimbus_db_backend:none"
${ENV_SCRIPT} nim ${NIM_FLAGS} ${SIM_DIR}/engine/engine_sim ${ENV_SCRIPT} nim ${NIM_FLAGS} ${SIM_DIR}/engine/engine_sim
${ENV_SCRIPT} nim ${NIM_FLAGS} ${SIM_DIR}/consensus/consensus_sim ${ENV_SCRIPT} nim ${NIM_FLAGS} ${SIM_DIR}/consensus/consensus_sim