Skip to content

Commit

Permalink
[#172] Use github actions to build and test dunner on multi-OS
Browse files Browse the repository at this point in the history
  • Loading branch information
apoorvam committed Aug 27, 2019
1 parent 87335a2 commit 56a21dc
Showing 1 changed file with 10 additions and 19 deletions.
29 changes: 10 additions & 19 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: Dunner CI

on: [push]

Expand All @@ -8,27 +8,18 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]

steps:
- uses: actions/checkout@v1

- name: Build Dunner and run tests on linux
if: matrix.os == 'ubuntu-latest'
- uses: actions/setup-go@v1
with:
go-version: '1.11.x'
- name: Build Dunner and run unit tests
run: |
echo $GOBIN
echo $GOPATH
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
go install
dunner version
dunner do show
- name: Build Dunner and run tests on Mac
if: matrix.os == 'macOS-latest'
run: |
brew install dep
brew upgrade dep
dep ensure
go install
make setup
make ci
make build
dunner version
dunner do show
dunner do show

0 comments on commit 56a21dc

Please sign in to comment.