2021-05-31 20:45:45 +00:00
|
|
|
name: Github Actions
|
2020-05-07 00:19:26 +00:00
|
|
|
on: [push, pull_request]
|
2020-03-06 01:44:26 +00:00
|
|
|
jobs:
|
|
|
|
build:
|
2021-05-31 20:45:45 +00:00
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
os: [ubuntu-latest, windows-latest]
|
2020-03-06 01:44:26 +00:00
|
|
|
|
2021-05-31 20:45:45 +00:00
|
|
|
runs-on: ${{ matrix.os }}
|
2020-03-06 01:44:26 +00:00
|
|
|
|
2021-05-31 20:45:45 +00:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2020-11-14 22:35:39 +00:00
|
|
|
- uses: jiro4989/setup-nim-action@v1
|
2020-05-06 23:58:21 +00:00
|
|
|
- run: nimble test -y
|
2021-05-31 20:45:45 +00:00
|
|
|
- run: nimble test --gc:orc -y
|
2021-06-02 15:12:04 +00:00
|
|
|
- run: nimble test -y -d:vmathObjBased
|
|
|
|
- run: nimble test -y -d:vmathArrayBased
|
|
|
|
- run: nim js -r tests/test.nim
|