updated github actions

This commit is contained in:
Ryan Oldenburg 2021-05-31 15:45:45 -05:00
parent 49ae58523c
commit 2a35ab402c
2 changed files with 11 additions and 19 deletions

View file

@ -1,26 +1,16 @@
name: Run tests
name: Github Actions
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- name: Cache choosenim
id: cache-choosenim
uses: actions/cache@v1
with:
path: ~/.choosenim
key: ${{ runner.os }}-choosenim-stable
- name: Cache nimble
id: cache-nimble
uses: actions/cache@v1
with:
path: ~/.nimble
key: ${{ runner.os }}-nimble-stable
- uses: actions/checkout@v2
- uses: jiro4989/setup-nim-action@v1
- run: nimble test -y
- run: nimble test --gc:orc -y

View file

@ -2,6 +2,8 @@
# VMath
![Github Actions](https://github.com/treeform/vmath/workflows/Github%20Actions/badge.svg)
`nimble install vmath`
Your one stop shop for vector math routines for 2d and 3d graphics.