mirror of
https://github.com/logos-storage/nim-datastore.git
synced 2026-01-02 13:43:11 +00:00
46 lines
1.1 KiB
YAML
46 lines
1.1 KiB
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: [binary:2.2.4]
|
|
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@v5
|
|
with:
|
|
version: ${{ matrix.nim }}
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
- name: Setup CMake
|
|
uses: jwlawson/actions-setup-cmake@v2
|
|
with:
|
|
cmake-version: '3.x'
|
|
- name: Build
|
|
run: nimble install -y
|
|
- name: Test
|
|
run: nimble test -y
|