Merge pull request #83 from guzba/ryan #508
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Github Actions | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
nim-version: ['1.2.x', '1.4.x', '1.6.x', 'stable'] | |
include: | |
- nim-version: '1.4.x' | |
gc_orc: true | |
- nim-version: '1.6.x' | |
gc_orc: true | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: jiro4989/setup-nim-action@v1 | |
with: | |
nim-version: ${{ matrix.nim-version }} | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- run: nimble test -d:release -y | |
# - run: nimble test -d:release -d:lto -y | |
- run: nimble test --gc:orc -d:release -y | |
if: ${{ matrix.gc_orc }} | |
- run: nim cpp -d:release -r tests/all.nim |