aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordhrubabasu <[email protected]>2020-11-13 13:52:44 -0500
committerdhrubabasu <[email protected]>2020-11-13 13:52:44 -0500
commit905f16998bbf5d465a8736d2eaed9344191a012a (patch)
treecd7a7184530000850636fba63eca9180e5976b0d
parentae4541f42a666fb5ae1c36d6f7423c3d9eb2c875 (diff)
Add CI
-rw-r--r--.github/workflows/ci.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..b8a1cd1
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,20 @@
+name: CI
+on: [pull_request, push]
+
+jobs:
+ test:
+ name: Golang v${{ matrix.go }} (${{ matrix.os }})
+ runs-on: ${{ matrix.os }}
+ strategy:
+ matrix:
+ go: ['1.13', '1.14', '1.15']
+ os: [macos-10.15, macos-11.0, ubuntu-18.04, ubuntu-20.04, windows-latest]
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions/setup-go@v1
+ with:
+ go-version: ${{ matrix.go }}
+ - run: go mod download
+ shell: bash
+ - run: go build "plugin/"*.go
+ shell: bash \ No newline at end of file