Merge pull request #50 from SciNim/devel #235
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
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
jobs: | |
tests: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
# os: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
# runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: "install_nim" | |
id: install_nim | |
uses: iffy/install-nim@v3.2.2 | |
- name: "install_julia" | |
id: install_julia | |
uses: julia-actions/setup-julia@latest | |
with: | |
show-versioninfo: 'true' | |
- run: nimble install -y | |
env: | |
JULIA_PATH: ${{ steps.install_julia.outputs.julia-bindir }}/.. | |
- run: nimble test | |
env: | |
JULIA_PATH: ${{ steps.install_julia.outputs.julia-bindir }}/.. | |
- run: nimble runexamples | |
env: | |
JULIA_PATH: ${{ steps.install_julia.outputs.julia-bindir }}/.. |