Skip to content

wip test workflow

wip test workflow #116

Workflow file for this run

name: test
on:
push:
paths-ignore:
- LICENSE
- README.*
pull_request:
paths-ignore:
- LICENSE
- README.*
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
nim-version:
- 'stable'
os:
- ubuntu-latest
- windows-latest
- macOS-latest
steps:
- uses: actions/checkout@v2
- uses: jiro4989/setup-nim-action@v1
with:
nim-version: ${{ matrix.nim-version }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
- run: "npm install node-gyp -g"
- run: "npm install cmake-js -g"
- run: "choosenim show path -y"
- run: nimble install denim@#head
- run: nimble test
- name: "test denim on windows"
if: matrix.os == 'windows-latest'
run: "denim.exe build tests\myaddon.nim -r -y --cmake"

Check failure on line 35 in .github/workflows/test.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yaml

Invalid workflow file

You have an error in your yaml syntax on line 35
- name: 'test denim on unix'
run: "denim build tests/myaddon.nim -r -y --cmake"