diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9427716..1052ef0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/README.md b/README.md index 3599e39..0954093 100644 --- a/README.md +++ b/README.md @@ -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.