chore: use nimbus-common-workflow, add licenses and minor README.md formatting (#9)

This commit is contained in:
richΛrd
2025-01-16 10:52:41 -04:00
committed by GitHub
parent 6834f4756b
commit e7983b6a6e
2 changed files with 14 additions and 20 deletions

View File

@@ -1,27 +1,14 @@
name: CI
on:
push:
branches:
- main
branches:
- master
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ${{ matrix.os }}
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: ${{ matrix.nim }}
- name: Build
run: nimble install -y
- name: Test
run: nimble test -y
build:
uses: status-im/nimbus-common-workflow/.github/workflows/common.yml@main
with:
test-command: |
nimble test --styleCheck:off

View File

@@ -1,6 +1,13 @@
ngtcp2 for Nim
==============
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
[![License: Apache](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
![Github action](https://github.com/status-im/nim-bearssl/workflows/CI/badge.svg)
<img src="https://img.shields.io/badge/nim-%3E%3D1.2.0-orange.svg?style=flat-square" />
Wrapper around the [ngtcp2](https://github.com/ngtcp2/ngtcp2) C library for
[Nim](https://nim-lang.org/).