Skip to content

Commit

Permalink
Merge pull request #75 from dnephin/windows-ci
Browse files Browse the repository at this point in the history
Add a windows CI job
  • Loading branch information
dnephin committed Oct 27, 2019
2 parents 0b91335 + 7e52773 commit 06322b4
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
version: 2.1

orbs:
go: gotest/tools@0.0.11
go: gotest/tools@0.0.12

workflows:
version: 2
ci:
jobs:
- test-go-1-10:
Expand All @@ -31,6 +30,14 @@ workflows:
name: go/golang
tag: 1.13-alpine

- go/test:
name: test-windows-go1.12
executor: windows
pre-steps:
- run: |
git config --global core.autocrlf false
git config --global core.symlinks true
- go/lint
- build
- run
Expand All @@ -42,6 +49,13 @@ workflows:
tags: {only: '/v[0-9]+(\.[0-9]+)*/'}
branches: {ignore: '/.*/'}

executors:
windows:
machine:
image: windows-server-2019-vs2019:201908-06
resource_class: windows.medium
shell: bash.exe

commands:
install-deps:
description: Install dep and dependencies
Expand Down

0 comments on commit 06322b4

Please sign in to comment.