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