14 Commits

Author SHA1 Message Date
Eric
73483b9f4c
retain os variable, add runner var 2024-06-13 11:37:03 +10:00
Eric
171287275d
Use macos-13 (intel) runner image instead of arm 2024-06-13 11:22:00 +10:00
Eric
957d976ddb
change version to 1.6.20 and stable, and disable openmp on macos
As per comment https://github.com/status-im/leopard/pull/1#issuecomment-1146601769
2024-06-12 12:44:19 +10:00
Eric
9b6a047864
fix test.yml, change version matrix to 1.6 and 2.0 2024-06-12 11:53:00 +10:00
Eric
953455796b
restore original CI workflow 2024-06-11 17:40:20 +10:00
Eric
814dd2b2fe
replace nimble install_pinned with nimble install 2024-06-11 15:33:40 +10:00
Eric
dd3d37238d
try newer ci workflow from libp2p 2024-06-11 15:28:05 +10:00
Eric
cb1da17fcd
try completely different workflow 2024-06-11 15:23:25 +10:00
Eric
c8f02242d6
try with only 1.6.6
1.6.20 and 2.0.4 were failing on macos in ci
2024-06-11 15:13:52 +10:00
Eric
128a9937a0
Use nim v1.6+
nim-stew now requires nim >= 1.6, so nim-leopard must be bumped
2024-06-11 14:48:34 +10:00
Ben Bierens
1a6f2ab725
enables stylecheck (#10)
* enables stylecheck

* attempt to fix mac build
2023-03-09 11:03:39 +01:00
Mark Spanbroek
ca63881613 [ci] Fix CI on macOS 2022-11-14 11:38:59 +01:00
Michael Bradley
980109a73e
ci: test with refc and orc for Nim v1.4 and v1.6 (#6) 2022-06-17 21:04:41 -06:00
Dmitriy Ryajov
41cd86df5b
High level wrapper (#3)
* initial implementation and tests

* [wip] refactor checking of RS code validity

* [wip] point GHA badge link to main branch instead of initial_impl

* [wip] delete leftover echo at bottom of test_leopard.nim

* [wip] add basic usage info to README

* [wip] more basic info added to README re: requirements, installation, usage

* [wip] add config.nims with --tlsEmulation:off to check if it helps with perf on Windows

* [wip] use `object` instead of `object of CatchableError` for LeopardError

workaround for edge case encountered in context of nimbus-build-system project

* [wip] clarify wording in README re: stability

* [wip] can use `object of CatchableError` for LeopardError with workaround

* Initial implementation

* make Leo a case object

* initial test

* cleanup

* remove echo

* use `func` where possible

* comments, misc

* make construction more convenient

* add more tests

* more tests

* unused warnings

* remove sideeffects pragma

* fix importc pragma on unix

* fix windows build

* fix ci

* better warning

* adding more comprehensive tests

* moar tests

* add TODO for usage

* Update leopard/leopard.nim

Co-authored-by: Michael Bradley <michaelsbradleyjr@gmail.com>

* Update leopard/wrapper.nim

Co-authored-by: Michael Bradley <michaelsbradleyjr@gmail.com>

* add tests to reuse same encoder/decoder

* check that parity and data buffers are < 65536

* test that data+parity isn't > 65536

Co-authored-by: Michael Bradley, Jr <michaelsbradleyjr@gmail.com>
2022-03-28 18:42:45 -06:00