2019-08-11 11:54:00 +00:00
|
|
|
name: CI
|
|
|
|
|
|
|
|
on: [pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2020-06-28 05:39:16 +00:00
|
|
|
- uses: actions/checkout@v2
|
2019-08-11 11:54:00 +00:00
|
|
|
|
2022-07-06 22:05:23 +00:00
|
|
|
- name: Set up Go
|
2019-08-11 11:54:00 +00:00
|
|
|
uses: actions/setup-go@v1
|
|
|
|
with:
|
2022-07-06 22:05:23 +00:00
|
|
|
go-version: 1.17
|
2019-08-11 11:54:00 +00:00
|
|
|
|
|
|
|
- name: Build
|
|
|
|
run: script/cibuild
|
2020-06-28 05:57:19 +00:00
|
|
|
|
|
|
|
- name: Upload gh-ost binary artifact
|
|
|
|
uses: actions/upload-artifact@v1
|
|
|
|
with:
|
|
|
|
name: gh-ost
|
|
|
|
path: bin/gh-ost
|