2.1.1 #381
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, macos-latest] | |
nim-version: ['1.2.2', '1.2.x', '1.4.x', 'stable'] | |
include: | |
- nim-version: '1.4.x' | |
gc_orc: true | |
- nim-version: 'stable' | |
gc_orc: true | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: jiro4989/setup-nim-action@v1 | |
with: | |
nim-version: ${{ matrix.nim-version }} | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- run: nimble install -y libcurl | |
- run: nimble install -y zippy | |
- run: nim c tests/debug_server.nim | |
- run: nimble test -y --gc:refc | |
- run: nimble test -y --gc:arc | |
- run: nimble test -y --gc:orc | |
- run: nimble test -d:release -y --gc:orc | |
- run: nimble test -y --gc:arc --threads:on |