mirror of https://github.com/Hilbis/Hilbish
ci: try to build for linux only and install readline before
parent
fd32275f70
commit
b9864ce4c6
|
@ -8,28 +8,31 @@ on:
|
||||||
- dev
|
- dev
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build
|
name: Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
# build and publish in parallel: linux/386, linux/amd64, windows/386, windows/amd64, darwin/amd64
|
include:
|
||||||
goos:
|
# build and publish in parallel: linux/386, linux/amd64, windows/386, windows/amd64, darwin/amd64
|
||||||
- linux
|
- goos: linux
|
||||||
- windows
|
os: ubuntu-latest
|
||||||
- darwin
|
# - windows
|
||||||
goarch:
|
# - darwin
|
||||||
- "386"
|
goarch:
|
||||||
- amd64
|
- amd64
|
||||||
exclude:
|
exclude:
|
||||||
- goarch: "386"
|
- goarch: "386"
|
||||||
goos: darwin
|
goos: darwin
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: Install readline
|
||||||
- uses: wangyoucao577/go-release-action@v1.17
|
run: sudo apt install libreadline-dev
|
||||||
with:
|
- uses: actions/checkout@v2
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
- uses: wangyoucao577/go-release-action@v1.17
|
||||||
goos: ${{ matrix.goos }}
|
with:
|
||||||
goarch: ${{ matrix.goarch }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
extra_files: LICENSE README.md
|
goos: ${{ matrix.goos }}
|
||||||
asset_name: hilbish-${{ matrix.goos }}-${{ matrix.goarch }}
|
goarch: ${{ matrix.goarch }}
|
||||||
|
extra_files: LICENSE README.md
|
||||||
|
asset_name: hilbish-${{ matrix.goos }}-${{ matrix.goarch }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue