Skip to content

Merge branch 'main' of github.com:openpeeps/denim #120

Merge branch 'main' of github.com:openpeeps/denim

Merge branch 'main' of github.com:openpeeps/denim #120

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
- macOS-latest
- windows-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 -Y
- run: nimble test
- name: "test denim on windows"
if: matrix.os == 'windows-latest'
run: "denim.exe build tests\\myaddon.nim -r -y --cmake"
- name: 'test denim on unix'
run: "denim build tests/myaddon.nim -r -y --cmake"