Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,26 @@ name: Github Actions
on: [push, pull_request]
jobs:
build:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
nim-version: ['1.4.x', 'stable']
os: [ubuntu-latest, windows-latest, macos-latest]
nim-version: ['binary:1.4', 'binary:stable']

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- uses: jiro4989/setup-nim-action@v1
- uses: iffy/install-nim@v4
with:
nim-version: ${{ matrix.nim-version }}
version: ${{ matrix.nim-version }}
- run: nimble test --gc:arc -d:release -y
- run: nimble test --gc:arc -d:release -d:pixieNoSimd -y
- run: nimble test --gc:orc -d:release -y
- run: nim cpp --gc:orc -d:release -r tests/all.nim
if: runner.os != 'macOS'
- run: nim cpp --gc:orc -d:release -d:pixieNoSimd -d:zippyNoSimd -r tests/all.nim
if: runner.os == 'macOS'