2024-05-09 09:01:21 +00:00
|
|
|
name: CI
|
2020-02-26 06:15:50 +00:00
|
|
|
|
2024-05-09 09:01:21 +00:00
|
|
|
on: [push, pull_request]
|
2020-02-26 06:15:50 +00:00
|
|
|
|
|
|
|
jobs:
|
2024-05-09 09:01:21 +00:00
|
|
|
test:
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
os: [ubuntu-latest, macOS-latest, windows-latest]
|
2024-05-13 09:45:29 +00:00
|
|
|
nim: [stable, 1.6.18]
|
2020-02-26 06:15:50 +00:00
|
|
|
steps:
|
2024-05-09 09:01:21 +00:00
|
|
|
- uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
submodules: true
|
2024-05-10 12:09:58 +00:00
|
|
|
- uses: iffy/install-nim@v4
|
2024-05-13 09:22:49 +00:00
|
|
|
with:
|
|
|
|
version: ${{ matrix.nim }}
|
2024-05-09 09:01:21 +00:00
|
|
|
- name: Build
|
|
|
|
run: nimble install -y
|
|
|
|
- name: Test
|
|
|
|
run: nimble test -y
|