mirror of
https://github.com/logos-storage/nim-libplum.git
synced 2026-06-07 01:29:27 +00:00
Fix CI
This commit is contained in:
parent
d3204bee73
commit
f7993b02bf
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -23,7 +23,13 @@ jobs:
|
||||
run: nimble setup -y
|
||||
|
||||
- name: Unit tests
|
||||
run: nimble test
|
||||
# same reason as integration tests: nimble exits with code 0 even on failure.
|
||||
run: |
|
||||
cmake -B vendor/libplum/build -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF vendor/libplum
|
||||
cmake --build vendor/libplum/build
|
||||
cp vendor/libplum/build/libplum.a vendor/libplum/libplum.a
|
||||
nim c -o:tests/test_plum tests/test_plum.nim
|
||||
./tests/test_plum
|
||||
|
||||
- name: Integration tests
|
||||
# we call docker directly instead of nimble testIntegration because nimble
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user