Re-enable testing on Windows

This commit is contained in:
Mark Spanbroek 2021-04-06 12:28:39 +02:00
parent 469a8d4154
commit fbb95c42d9

View File

@ -7,13 +7,23 @@ jobs:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest, macOS-latest] os: [ubuntu-latest, macOS-latest, windows-latest]
nim: [stable, 1.2.6] nim: [stable, 1.2.6]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: iffy/install-nim@v3 - uses: iffy/install-nim@v3
with: with:
version: ${{ matrix.nim }} version: ${{ matrix.nim }}
# workaround for https://github.com/iffy/install-nim/issues/11
- name: Workaround SSL error with choosenim
run: |
curl -fO https://curl.se/ca/cacert.pem
install cacert.pem ~/.nimble/bin
ls ~/.nimble/bin
shell: bash
if: runner.os == 'Windows'
- name: Build - name: Build
run: nimble install -y run: nimble install -y
- name: Test - name: Test