mirror of https://github.com/Hilbis/Hilbish
ci: just build instead of trying to make release
parent
c277c67786
commit
571764a87f
|
@ -1,39 +1,26 @@
|
||||||
on:
|
name: Build
|
||||||
push:
|
|
||||||
branches:
|
on:
|
||||||
- master
|
- push
|
||||||
- dev
|
- pull_request
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- dev
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build
|
name: ${{ matrix.build }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
# build and publish in parallel: linux/386, linux/amd64, windows/386, windows/amd64, darwin/amd64
|
include:
|
||||||
goos:
|
- build: linux-amd64
|
||||||
- linux
|
os: ubuntu-latest
|
||||||
# - windows
|
- build: darwin-amd64
|
||||||
# - darwin
|
os: macOS-latest
|
||||||
goarch:
|
|
||||||
- "386"
|
|
||||||
- amd64
|
|
||||||
exclude:
|
|
||||||
- goarch: "386"
|
|
||||||
goos: darwin
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install readline
|
- name: Checkout sources
|
||||||
run: sudo apt install libreadline-dev
|
uses: actions/checkout@v2
|
||||||
- uses: actions/checkout@v2
|
- name: Setup Go
|
||||||
- uses: wangyoucao577/go-release-action@v1.17
|
uses: actions/setup-go@v2
|
||||||
with:
|
- name: Build
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
run: make hilbiline
|
||||||
goos: ${{ matrix.goos }}
|
|
||||||
goarch: ${{ matrix.goarch }}
|
|
||||||
extra_files: LICENSE README.md
|
|
||||||
asset_name: hilbish-${{ matrix.goos }}-${{ matrix.goarch }}
|
|
||||||
build_flags: -tags hilbiline
|
|
||||||
pre_command: go get -d
|
|
||||||
|
|
Loading…
Reference in New Issue