Created
July 11, 2020 16:19
-
-
Save treeform/fc1b11de18eac28c68b21ee024c2184f to your computer and use it in GitHub Desktop.
windows github actions build.yaml for nim
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
name: Run tests | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: windows-2019 | |
steps: | |
- name: "install choosenim" | |
id: cache-choosenim | |
run: curl -OL https://github.com/dom96/choosenim/releases/download/v0.6.0/choosenim-0.6.0_windows_amd64_debug.exe | |
- name: "install nim" | |
id: cache-nim | |
run: .\choosenim-0.6.0_windows_amd64_debug.exe -y devel | |
- name: "setup nim path" | |
id: cache-nim-path | |
run: echo "::add-path::C:\Users\runneradmin\.nimble\bin" | |
- name: "show nim version" | |
run: nim -v | |
- name: "setup nimble" | |
run: nimble refresh | |
- uses: actions/checkout@v1 | |
- name: "nimble test" | |
run: nimble test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment