Skip to content

Commit

Permalink
Add Github Actions CI using choosenim (#877)
Browse files Browse the repository at this point in the history
* Add Github Actions CI using iffy/install-nim@v3

* Remove build of 8a004e2

* How about actually specifying the version to build?
  • Loading branch information
iffy committed Nov 20, 2020
1 parent 5130e99 commit e658bb5
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/test.yml
@@ -0,0 +1,31 @@
on:
push:
pull_request:

jobs:
test:
strategy:
matrix:
os:
- windows-latest
- macos-latest
- ubuntu-latest
nimversion:
- 0.20.2
- 1.0.10
- 1.2.8
- 1.4.0
- nightly:https://github.com/nim-lang/nightlies/releases/tag/2020-11-11-devel-bbe49a14ae827b6474d692042406716a3b3dd71f
name: ${{ matrix.os }} - ${{ matrix.nimversion }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: iffy/install-nim@v3
with:
version: ${{ matrix.nimversion }}
- run: nim --version
- name: Run nim c -r tester
run: |
cd tests
nim c -r tester
- run: ./src/nimble install -y

0 comments on commit e658bb5

Please sign in to comment.