aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authoraaronbuchwald <[email protected]>2020-11-13 17:28:24 -0500
committerGitHub <[email protected]>2020-11-13 17:28:24 -0500
commit2a52b64b2f94602ac02df458e9ba66e43fd57489 (patch)
tree3dff693752e44d6de1419823c4e8e4e4bc25ecaf /.github/workflows
parent68661be1a9551e24994b1e2703676b03cd96624c (diff)
parent6a542ffa05e3a70139bf1de0a4f0bf2e510d069e (diff)
Merge pull request #54 from ava-labs/github-actions
GitHub actions
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..31ae101
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,22 @@
+name: CI
+on: [pull_request, push]
+
+jobs:
+ test:
+ name: Golang v${{ matrix.go }} (${{ matrix.os }})
+ runs-on: ${{ matrix.os }}
+ strategy:
+ matrix:
+ go: ['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: ./scripts/build.sh evm
+ shell: bash
+ - run: ./scripts/build_test.sh
+ shell: bash