Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Github Actions CI using choosenim (#877)
* Add Github Actions CI using iffy/install-nim@v3 * Remove build of 8a004e2 * How about actually specifying the version to build?
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |