Workflow config file is invalid. Please check your config file: yaml: line 10: did not find expected key
Dean Eigenmann 3440551080 enhancement/github-actions (#65)
* init file

* update

* fix
2020-07-21 10:21:51 -06:00

32 lines
702 B
YAML

name: Test
on:
pull_request:
push:
branches:
- master
jobs:
build:
env:
- { NPROC: 2 }
- { NPROC: 6 }
runs-on: [ubuntu-latest, macos-latest]
- name: Install dependencies
run: |
make -j${NPROC} NIMFLAGS="--parallelBuild:${NPROC}" V=1 update
make -j${NPROC} NIMFLAGS="--parallelBuild:${NPROC}" LOG_LEVEL=TRACE
- name: Cache Nim
id: cache-choosenim
uses: actions/cache@v1
with:
path: vendor/nimbus-build-system/vendor/Nim/bin
key: ${{ runner.os }}-nim-${{ hashFiles(vendor/nimbus-build-system/) }}
- name: Run Tests
run: |
make -j${NPROC} NIMFLAGS="--parallelBuild:${NPROC}" test