print resulting nim and nimble version and restore deps cache

This commit is contained in:
Ivan FB 2026-03-30 11:16:49 +02:00
parent 9820f40584
commit 38b092df54
No known key found for this signature in database
GPG Key ID: DF0C67A04C543270

View File

@ -132,6 +132,20 @@ jobs:
shell: ${{ matrix.shell }}
nim_ref: v2.2.6
- name: Print Nim and Nimble versions
run: |
nim --version
nimble --version
which nim
which nimble
- name: Restore nimbledeps from cache
id: nimbledeps-cache
uses: actions/cache@v4
with:
path: nimbledeps
key: nimbledeps-${{ matrix.builder }}-${{ matrix.platform.cpu }}-${{ hashFiles('nimble.lock') }}
- name: Make update
run: make update
@ -229,6 +243,13 @@ jobs:
shell: ${{ matrix.shell }}
nim_ref: v2.2.6
- name: Restore nimbledeps from cache
id: nimbledeps-cache
uses: actions/cache@v4
with:
path: nimbledeps
key: nimbledeps-${{ matrix.builder }}-${{ matrix.platform.cpu }}-${{ hashFiles('nimble.lock') }}
- name: Platform info
run: |
echo "=== OS / kernel ==="
@ -243,6 +264,10 @@ jobs:
which gcc || echo "gcc not found"
echo "=== gcc version ==="
gcc --version || echo "gcc not available"
echo "=== nim version ==="
nim --version
echo "=== nimble version ==="
nimble --version
- name: Make update
run: make update
@ -306,6 +331,11 @@ jobs:
cpu: amd64
nim_ref: v2.2.6
- name: Print Nim and Nimble versions
run: |
nim --version
nimble --version
- name: Build nph
run: |
make build-nph