Skip to content

Commit cc114ee

Browse files
committed
Add more github actions tests.
1 parent 02a9969 commit cc114ee

File tree

2 files changed

+14
-19
lines changed

2 files changed

+14
-19
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,18 @@
1-
name: Run tests
1+
name: Github Actions
22
on: [push, pull_request]
33
jobs:
44
build:
5-
runs-on: ubuntu-latest
5+
strategy:
6+
fail-fast: false
7+
matrix:
8+
os: [ubuntu-latest, windows-latest]
69

7-
steps:
8-
- uses: actions/checkout@v1
9-
10-
- name: Cache choosenim
11-
id: cache-choosenim
12-
uses: actions/cache@v1
13-
with:
14-
path: ~/.choosenim
15-
key: ${{ runner.os }}-choosenim-stable
16-
17-
- name: Cache nimble
18-
id: cache-nimble
19-
uses: actions/cache@v1
20-
with:
21-
path: ~/.nimble
22-
key: ${{ runner.os }}-nimble-stable
10+
runs-on: ${{ matrix.os }}
2311

12+
steps:
13+
- uses: actions/checkout@v2
2414
- uses: jiro4989/setup-nim-action@v1
25-
2615
- run: nimble test -y
16+
- run: nimble test --gc:orc -y
17+
- run: nim js all.nim
18+
- run: nim cpp -d:release --gc:arc all.nim

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
Pure nim module with no other dependencies.
44

5+
![Github Actions](https://github.com/treeform/vmath/workflows/Github%20Actions/badge.svg)
6+
7+
58
`nimble install jsony`
69

710
```nim

0 commit comments

Comments
 (0)