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]
|
2022-01-25 22:47:08 +00:00
|
|
|
nim-version: ['1.4.x', 'stable']
|
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
|
2022-01-25 22:47:08 +00:00
|
|
|
with:
|
|
|
|
nim-version: ${{ matrix.nim-version }}
|
2021-06-03 04:58:39 +00:00
|
|
|
- run: nimble test -d:release -y
|
2021-06-18 20:10:00 +00:00
|
|
|
- run: nimble test -d:release -d:pixieNoSimd -y
|
2021-06-03 04:58:39 +00:00
|
|
|
- run: nimble test --gc:orc -d:release -y
|
|
|
|
- run: nim cpp -d:release -r tests/all.nim
|