23 lines
564 B
YAML
23 lines
564 B
YAML
name: Github Actions
|
|
on: [push, pull_request]
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest]
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- 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
|