fix: update nimble in ci and docker

This commit is contained in:
Slava 2025-03-24 18:14:11 +02:00
parent 538be676c2
commit 9e61b8b67d
No known key found for this signature in database
GPG Key ID: 351E7AA9BD0DFEB8
2 changed files with 14 additions and 0 deletions

View File

@ -25,9 +25,22 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: true
- uses: iffy/install-nim@v4
with:
version: ${{ matrix.nim }}
- name: Update nimble
run: |
nimble install nimble
nimble --version
- name: Use updated nimble version on Windows
if: contains(matrix.os, 'windows')
run: |
del $HOME\.nimble\bin\nimble.exe
nimble --version
- name: Build
run: nimble build -y
- name: Test

View File

@ -19,6 +19,7 @@ RUN apt-get update && apt-get install -y cmake build-essential
WORKDIR ${BUILD_HOME}
COPY . .
RUN nimble install nimble
RUN nimble build
# Create