Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ nimble examples # Build and run C examples

| Workflow | Description |
|----------|-------------|
| `ci.yml` | Main CI: Linux (amd64/i386), macOS (arm64), Windows; Nim v2.0.16 & v2.2.6 |
| `ci.yml` | Main CI: Linux (amd64/i386), macOS (arm64), Windows; Nim v2.2.4 & v2.2.10 |
| `daily_amd64.yml` / `daily_i386.yml` | Extended daily tests |
| `daily_ci_report.yml` | Daily CI failure reporting: opens/updates GitHub issues for failed daily CI runs |
| `daily_common.yml` | Shared steps/config reused by daily workflows |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cbindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
shell: bash
os: linux
cpu: amd64
nim_ref: v2.2.6
nim_ref: v2.2.10

- name: Restore deps from cache
id: deps-cache
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/daily_amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
uses: ./.github/workflows/daily_common.yml
with:
nim: "[
{'ref': 'v2.0.16', 'memory_management': 'refc'},
{'ref': 'v2.2.6', 'memory_management': 'refc'},
{'ref': 'v2.2.4', 'memory_management': 'refc'},
{'ref': 'v2.2.10', 'memory_management': 'refc'},
{'ref': 'devel', 'memory_management': 'refc'},
]"
configuration: "[
Expand All @@ -36,8 +36,8 @@ jobs:
with:
pinned_deps: true
nim: "[
{'ref': 'v2.0.16', 'memory_management': 'refc'},
{'ref': 'v2.2.6', 'memory_management': 'refc'},
{'ref': 'v2.2.4', 'memory_management': 'refc'},
{'ref': 'v2.2.10', 'memory_management': 'refc'},
{'ref': 'devel', 'memory_management': 'refc'},
]"
configuration: "[
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/daily_i386.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
uses: ./.github/workflows/daily_common.yml
with:
nim: "[
{'ref': 'v2.0.16', 'memory_management': 'refc'},
{'ref': 'v2.2.6', 'memory_management': 'refc'},
{'ref': 'v2.2.4', 'memory_management': 'refc'},
{'ref': 'v2.2.10', 'memory_management': 'refc'},
{'ref': 'devel', 'memory_management': 'refc'},
]"
configuration: "[
Expand All @@ -28,8 +28,8 @@ jobs:
with:
pinned_deps: true
nim: "[
{'ref': 'v2.0.16', 'memory_management': 'refc'},
{'ref': 'v2.2.6', 'memory_management': 'refc'},
{'ref': 'v2.2.4', 'memory_management': 'refc'},
{'ref': 'v2.2.10', 'memory_management': 'refc'},
{'ref': 'devel', 'memory_management': 'refc'},
]"
configuration: "[
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/daily_tests_no_flags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
shell: bash
os: linux
cpu: amd64
nim_ref: v2.2.6
nim_ref: v2.2.10

- name: Restore deps from cache
id: deps-cache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
shell: bash
os: linux
cpu: amd64
nim_ref: v2.2.6
nim_ref: v2.2.10

- name: Restore deps from cache
id: deps-cache
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Jump into the [contributing](docs/contributing.md) page to get started, `nim-lib

## Install

The currently supported Nim versions are v2.0.16 and v2.2.6.
The currently supported Nim versions are v2.2.4 and v2.2.10.

```
nimble install libp2p
Expand Down Expand Up @@ -143,4 +143,4 @@ List of packages modules implemented in nim-libp2p:
| **Privacy** | |
| [mix](nim-libp2p/libp2p/protocols/mix.nim) | [Mix](https://lip.logos.co/ift-ts/raw/mix.html#5-protocol-overview) network protocol with [Sphinx](https://cypherpunks.ca/~iang/pubs/Sphinx_Oakland09.pdf) packet format for anonymity |
| **Performance** | |
| [perf](nim-libp2p/libp2p/protocols/perf/core.nim) | [Perf](https://github.com/libp2p/specs/blob/master/perf/perf.md) protocol for benchmarking libp2p nodes |
| [perf](nim-libp2p/libp2p/protocols/perf/core.nim) | [Perf](https://github.com/libp2p/specs/blob/master/perf/perf.md) protocol for benchmarking libp2p nodes |
4 changes: 2 additions & 2 deletions interop/hole-punching/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1.5-labs
FROM nimlang/nim:2.2.6-ubuntu-regular as builder
FROM nimlang/nim:2.2.10 as builder

WORKDIR /app

Expand All @@ -8,7 +8,7 @@ COPY .pinned libp2p.nimble nim-libp2p/
RUN --mount=type=cache,target=/var/cache/apt apt-get update && apt-get install -y --no-install-recommends ca-certificates binutils libssl-dev \
&& rm -rf /var/lib/apt/lists/*

RUN cd nim-libp2p && nimble install_pinned && nimble install redis -y
RUN cd nim-libp2p && nimble install -y redis && nimble install_pinned

COPY . nim-libp2p/

Expand Down
2 changes: 1 addition & 1 deletion interop/perf/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ COPY .pinned libp2p.nimble nim-libp2p/
RUN --mount=type=cache,target=/var/cache/apt apt-get update && apt-get install -y --no-install-recommends ca-certificates binutils \
&& rm -rf /var/lib/apt/lists/*

RUN cd nim-libp2p && nimble install_pinned && nimble install redis -y
RUN cd nim-libp2p && nimble install -y redis && nimble install_pinned

COPY . nim-libp2p/

Expand Down
4 changes: 2 additions & 2 deletions interop/transport-v2/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1.5-labs
FROM nimlang/nim:2.2.6-ubuntu-regular as builder
FROM nimlang/nim:2.2.10 as builder

WORKDIR /app

Expand All @@ -8,7 +8,7 @@ COPY .pinned libp2p.nimble nim-libp2p/
RUN --mount=type=cache,target=/var/cache/apt apt-get update && apt-get install -y --no-install-recommends ca-certificates binutils \
&& rm -rf /var/lib/apt/lists/*

RUN cd nim-libp2p && nimble install_pinned && nimble install redis -y
RUN cd nim-libp2p && nimble install -y redis && nimble install_pinned

COPY . nim-libp2p/

Expand Down
4 changes: 2 additions & 2 deletions interop/transport/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1.5-labs
FROM nimlang/nim:2.2.6-ubuntu-regular as builder
FROM nimlang/nim:2.2.10 as builder

WORKDIR /app

Expand All @@ -8,7 +8,7 @@ COPY .pinned libp2p.nimble nim-libp2p/
RUN --mount=type=cache,target=/var/cache/apt apt-get update && apt-get install -y --no-install-recommends ca-certificates binutils \
&& rm -rf /var/lib/apt/lists/*

RUN cd nim-libp2p && nimble install_pinned && nimble install redis -y
RUN cd nim-libp2p && nimble install -y redis && nimble install_pinned

COPY . nim-libp2p/

Expand Down
6 changes: 3 additions & 3 deletions performance/test_node/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Create the build image
FROM nimlang/nim:2.2.6-ubuntu-regular AS build
FROM nimlang/nim:2.2.10 AS build

WORKDIR /node

Expand All @@ -19,7 +19,7 @@ RUN nimble c \
performance/test_node/main.nim


FROM nimlang/nim:2.2.6-alpine-slim
FROM nimlang/nim:2.2.10

WORKDIR /node

Expand All @@ -31,4 +31,4 @@ RUN chmod +x main entrypoint.sh \

VOLUME ["/output"]

ENTRYPOINT ["/node/entrypoint.sh"]
ENTRYPOINT ["/node/entrypoint.sh"]
2 changes: 1 addition & 1 deletion simulation/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Build context must be the repo root:
# docker build -f simulation/Dockerfile -t nim-libp2p/simulation .
FROM nimlang/nim:2.2.6-ubuntu-regular AS build
FROM nimlang/nim:2.2.10 AS build

WORKDIR /node
COPY . .
Expand Down
Loading