Skip to content

Commit

Permalink
run ci.yml on multiple Nim version
Browse files Browse the repository at this point in the history
  • Loading branch information
Clonkk authored Sep 18, 2024
1 parent 97b8440 commit eb1b6dc
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,33 @@ on:

jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest]
# os: [ubuntu-latest, macos-latest, windows-latest]
nim:
- '2.0.x'
- 'stable'
- devel

runs-on: ${{ matrix.os }}
# runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: "install_nim"
id: install_nim
uses: iffy/[email protected]
- uses: actions/checkout@v4
- name: Setup nim
uses: jiro4989/setup-nim-action@v2
with:
use-nightlies: true
nim-version: ${{ matrix.nim }}
repo-token: ${{ secrets.GITHUB_TOKEN }}

- 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 }}/..
Expand Down

0 comments on commit eb1b6dc

Please sign in to comment.