2021-06-03 04:58:39 +00:00
|
|
|
name: Github Actions
|
2020-11-20 02:41:32 +00:00
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
|
|
build:
|
2021-06-03 04:58:39 +00:00
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
os: [ubuntu-latest, windows-latest]
|
2020-11-20 02:41:32 +00:00
|
|
|
|
2021-06-03 04:58:39 +00:00
|
|
|
runs-on: ${{ matrix.os }}
|
2020-11-20 02:41:32 +00:00
|
|
|
|
2021-06-03 04:58:39 +00:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2020-11-20 02:41:32 +00:00
|
|
|
- uses: jiro4989/setup-nim-action@v1
|
2021-06-03 04:58:39 +00:00
|
|
|
- run: nimble test -d:release -y
|
|
|
|
- run: nimble test --gc:orc -d:release -y
|
|
|
|
- run: nim cpp -d:release -r tests/all.nim
|