generated from treeform/nimtemplate
-
Notifications
You must be signed in to change notification settings - Fork 27
35 lines (30 loc) · 936 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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: nimble install -y webby
- 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