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: [1.6.18]
|
|
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
|