mirror of
https://github.com/logos-storage/nim-datastore.git
synced 2026-01-03 06:03:06 +00:00
* Add nimbledeps to be sure that dependencies are isolated * Update dependencies to specific commit hashes Signed-off-by: Arnaud <arnaud@status.im> * Add gcsafe pragma Signed-off-by: Arnaud <arnaud@status.im> * Apply method name changes Signed-off-by: Arnaud <arnaud@status.im> * Catch exceptions Signed-off-by: Arnaud <arnaud@status.im> * Cast to nil value because nil cannot be applied directly to distinct pointer Signed-off-by: Arnaud <arnaud@status.im> * Update nim-results to version 0.5.1 Signed-off-by: Arnaud <arnaud@status.im> * Add Nim 2.0.12 to matrix * Increment the version * Update the leveldb dependency * Add versions and commit to dependencies * Introduce nimble.lock Signed-off-by: Arnaud <arnaud@status.im> * Remove .lock and file and direct dependency to nim-results * Update to 2.0.14 * updates nim-leveldbstatic * sets leveldb to v0.2.0 * fix dep versions * remove except Exception, no longer needed * fix dep versions --------- Signed-off-by: Arnaud <arnaud@status.im> Co-authored-by: Ben <thatbenbierens@gmail.com> Co-authored-by: Eric <5089238+emizzle@users.noreply.github.com>
40 lines
945 B
YAML
40 lines
945 B
YAML
name: Tests
|
|
on: [push, pull_request]
|
|
jobs:
|
|
test:
|
|
strategy:
|
|
matrix:
|
|
platform:
|
|
- {
|
|
icon: 🐧,
|
|
label: Linux,
|
|
os: ubuntu,
|
|
shell: bash --noprofile --norc -eo pipefail
|
|
}
|
|
- {
|
|
icon: 🍎,
|
|
label: macOS,
|
|
os: macos,
|
|
shell: bash --noprofile --norc -eo pipefail
|
|
}
|
|
- {
|
|
icon: 🏁,
|
|
label: Windows,
|
|
os: windows,
|
|
shell: msys2
|
|
}
|
|
nim: [2.0.14]
|
|
name: ${{ matrix.platform.icon }} ${{ matrix.platform.label }} - Nim v${{ matrix.nim }}
|
|
runs-on: ${{ matrix.platform.os }}-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
submodules: true
|
|
- uses: iffy/install-nim@v4
|
|
with:
|
|
version: ${{ matrix.nim }}
|
|
- name: Build
|
|
run: nimble install -y
|
|
- name: Test
|
|
run: nimble test -y
|