From a732f9420c86c063d88513c113e6d313932db419 Mon Sep 17 00:00:00 2001 From: bhartnett <51288821+bhartnett@users.noreply.github.com> Date: Tue, 10 Dec 2024 10:07:36 +0800 Subject: [PATCH] Test nimble install in CI. --- .github/workflows/ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b0cea4f..2fea8ec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -111,6 +111,19 @@ jobs: bash build_nim.sh nim csources dist/nimble NimBinaries echo '${{ github.workspace }}/nim/bin' >> $GITHUB_PATH + - name: Run nimble install + run: | + export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/lib" + if [[ "${{ matrix.target.os }}" == "windows" ]]; then + # https://github.com/status-im/nimbus-eth2/issues/3121 + export NIMFLAGS="-d:nimRawSetjmp" + fi + + nim --version + nimble --version + nimble install -l rocksdb + + - name: Run tests run: | export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/lib"