3 Commits

Author SHA1 Message Date
Diego
487eab65ae remove ConvFromXtoItselfNotNeeded 2024-09-03 15:39:31 +02:00
Diego
bb13e8027f fix trigger 2024-09-03 13:27:15 +02:00
Diego
1ef4d811ef add nim 2 to ci 2024-09-03 13:25:08 +02:00
2 changed files with 8 additions and 4 deletions

View File

@@ -1,6 +1,11 @@
name: CI
on: [push, pull_request]
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
test:
@@ -8,13 +13,14 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
nim: [1.6.20, stable]
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: iffy/install-nim@v5
with:
version: 1.6.20
version: ${{ matrix.nim }}
- name: Build
run: nimble install -y
- name: Test

View File

@@ -29,7 +29,6 @@ const buildInclude = root/"build"/"lib"/"includes"
# const 'NGTCP2_CONN_INFO_VERSION' has unsupported value 'NGTCP2_CONN_INFO_V1'
# const 'NGTCP2_SETTINGS_VERSION' has unsupported value 'NGTCP2_SETTINGS_V2'
# const 'NGTCP2_CALLBACKS_VERSION' has unsupported value 'NGTCP2_CALLBACKS_V1'
{.push hint[ConvFromXtoItselfNotNeeded]: off.}
import macros
macro defineEnum(typ: untyped): untyped =
@@ -3811,4 +3810,3 @@ proc ngtcp2_select_version*(preferred_versions: ptr uint32;
## Negotiation packet. If no version is selected, this function
## returns 0.
## ```
{.pop.}