mirror of
https://github.com/logos-storage/logos-storage-network-crawler.git
synced 2026-01-07 16:03:08 +00:00
fix: update nimble in ci and docker
This commit is contained in:
parent
538be676c2
commit
9e61b8b67d
13
.github/workflows/main.yml
vendored
13
.github/workflows/main.yml
vendored
@ -25,9 +25,22 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
- uses: iffy/install-nim@v4
|
- uses: iffy/install-nim@v4
|
||||||
with:
|
with:
|
||||||
version: ${{ matrix.nim }}
|
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
|
- name: Build
|
||||||
run: nimble build -y
|
run: nimble build -y
|
||||||
- name: Test
|
- name: Test
|
||||||
|
|||||||
@ -19,6 +19,7 @@ RUN apt-get update && apt-get install -y cmake build-essential
|
|||||||
|
|
||||||
WORKDIR ${BUILD_HOME}
|
WORKDIR ${BUILD_HOME}
|
||||||
COPY . .
|
COPY . .
|
||||||
|
RUN nimble install nimble
|
||||||
RUN nimble build
|
RUN nimble build
|
||||||
|
|
||||||
# Create
|
# Create
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user