updated github actions
This commit is contained in:
parent
49ae58523c
commit
2a35ab402c
28
.github/workflows/build.yml
vendored
28
.github/workflows/build.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue