2021-05-20 22:29:32 +00:00
|
|
|
name: Build
|
|
|
|
|
|
|
|
on:
|
|
|
|
- push
|
|
|
|
- pull_request
|
2021-05-20 22:18:14 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2021-05-20 22:29:32 +00:00
|
|
|
name: ${{ matrix.build }}
|
|
|
|
runs-on: ${{ matrix.os }}
|
2021-05-20 22:18:14 +00:00
|
|
|
strategy:
|
|
|
|
matrix:
|
2021-05-20 22:29:32 +00:00
|
|
|
include:
|
|
|
|
- build: linux-amd64
|
|
|
|
os: ubuntu-latest
|
2021-05-20 22:18:14 +00:00
|
|
|
steps:
|
2021-05-20 22:29:32 +00:00
|
|
|
- name: Checkout sources
|
|
|
|
uses: actions/checkout@v2
|
2021-05-20 22:48:16 +00:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2021-05-20 22:29:32 +00:00
|
|
|
- name: Setup Go
|
|
|
|
uses: actions/setup-go@v2
|
2021-05-20 22:31:30 +00:00
|
|
|
with:
|
|
|
|
go-version: '1.16.2'
|
2021-05-20 22:29:32 +00:00
|
|
|
- name: Build
|
|
|
|
run: make hilbiline
|
2021-05-20 22:36:36 +00:00
|
|
|
- uses: actions/upload-artifact@v2
|
|
|
|
with:
|
|
|
|
name: hilbish-${{ matrix.build }}
|
|
|
|
path: hilbish
|
2021-05-20 22:29:32 +00:00
|
|
|
|