From 905f16998bbf5d465a8736d2eaed9344191a012a Mon Sep 17 00:00:00 2001 From: dhrubabasu Date: Fri, 13 Nov 2020 13:52:44 -0500 Subject: Add CI --- .github/workflows/ci.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/ci.yml (limited to '.github/workflows') 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 -- cgit v1.2.3 From 3ac21519b323c667523034958c479d70a3af228c Mon Sep 17 00:00:00 2001 From: Aaron Buchwald Date: Fri, 13 Nov 2020 15:21:19 -0500 Subject: Switch github actions to use scripts --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.github/workflows') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b8a1cd1..b59f006 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,5 +16,7 @@ jobs: go-version: ${{ matrix.go }} - run: go mod download shell: bash - - run: go build "plugin/"*.go + - run: ./scripts/build.sh evm + shell: bash + - run: ./scripts/build_test.sh shell: bash \ No newline at end of file -- cgit v1.2.3 From c519b661358e185f9a9f09586cf7de1b17aa332f Mon Sep 17 00:00:00 2001 From: Aaron Buchwald Date: Fri, 13 Nov 2020 16:57:33 -0500 Subject: Cleanup --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github/workflows') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b59f006..779dba0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,4 +19,4 @@ jobs: - run: ./scripts/build.sh evm shell: bash - run: ./scripts/build_test.sh - shell: bash \ No newline at end of file + shell: bash -- cgit v1.2.3 From 6a542ffa05e3a70139bf1de0a4f0bf2e510d069e Mon Sep 17 00:00:00 2001 From: Aaron Buchwald Date: Fri, 13 Nov 2020 17:01:20 -0500 Subject: Remove support for go versions prior to go1.15 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github/workflows') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 779dba0..31ae101 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - go: ['1.13', '1.14', '1.15'] + go: ['1.15'] os: [macos-10.15, macos-11.0, ubuntu-18.04, ubuntu-20.04, windows-latest] steps: - uses: actions/checkout@v2 -- cgit v1.2.3