Skip to content

CI nim 2 try

CI nim 2 try #141

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
test:
name: Nim ${{ matrix.nim }}
runs-on: ubuntu-latest
strategy:
matrix:
# xxx trim to on use latest in each branch eg 1.0.10, 1.2.8 etc
nim: [1.0.0, 1.0.2, 1.0.4, 1.0.10, 1.2.0, 1.2.2, 1.2.4, 1.2.6, 1.2.12, 1.4.0, 1.4.2, 1.4.8, 1.6.14, 2.0.0]
steps:
- uses: actions/[email protected]
- name: Run Tests
run: |
git config --global --add safe.directory /usr/src/app
docker pull nimlang/nim:${{ matrix.nim }}
docker run --rm -v `pwd`:/usr/src/app -w /usr/src/app nimlang/nim:${{ matrix.nim }} /bin/bash -c "nimble install -y; nimble test"