From f825e53aa286b13bc13312c0b1cc48dacec26c27 Mon Sep 17 00:00:00 2001 From: Ryan Oldenburg Date: Wed, 29 Sep 2021 16:09:21 -0500 Subject: [PATCH] updated github actions --- .github/workflows/build.yml | 28 +++++++++------------------- README.md | 2 ++ 2 files changed, 11 insertions(+), 19 deletions(-) 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] - 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 + runs-on: ${{ matrix.os }} + steps: + - 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 874234e..5d3e42d 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Bumpy - 2d collision library for nim. +![Github Actions](https://github.com/treeform/bumpy/workflows/Github%20Actions/badge.svg) + `nimble install bumpy` Based on the book http://www.jeffreythompson.org/collision-detection/table_of_contents.php