Build jupyternim, check display.nim #100
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build jupyternim, check display.nim | |
on: | |
push: | |
paths: | |
- 'src/**' | |
- 'examples/**' | |
pull_request: | |
branches: | |
- master | |
workflow_dispatch: | |
schedule: | |
- cron: '3 2 1 * *' | |
jobs: | |
build: | |
strategy: | |
matrix: | |
nim: [ '1.6.0', 'stable', 'devel' ] | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
name: Build on nim ${{ matrix.nim }}-${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@master | |
- name: Cache choosenim | |
id: cache-choosenim | |
uses: actions/[email protected] | |
with: | |
path: ~/.choosenim | |
key: ${{ runner.os }}-choosenim-stable | |
- name: Cache nimble | |
id: cache-nimble | |
uses: actions/[email protected] | |
with: | |
path: ~/.nimble | |
key: ${{ runner.os }}-nimble-stable | |
- name: Setup nim | |
uses: jiro4989/[email protected] | |
with: | |
nim-version: ${{ matrix.nim }} | |
- run: nimble build -Y | |
- run: nim check src/jupyternimpkg/display.nim |