vmath/.github/workflows/build.yml
2023-05-11 22:18:10 -07:00

24 lines
614 B
YAML

name: Github Actions
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
nim-version: ['1.4.0', '1.4.x', 'stable']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: jiro4989/setup-nim-action@v1
with:
nim-version: ${{ matrix.nim-version }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
- run: nimble test -y
- run: nimble test --gc:orc -y
- run: nimble test -y -d:vmathObjBased
- run: nimble test -y -d:vmathArrayBased
- run: nim js -r tests/test.nim