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
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
# build and publish in parallel: linux/386, linux/amd64, windows/386, windows/amd64, darwin/amd64
|
||||
goos:
|
||||
- linux
|
||||
- windows
|
||||
- darwin
|
||||
goarch:
|
||||
- "386"
|
||||
- amd64
|
||||
exclude:
|
||||
- goarch: "386"
|
||||
goos: darwin
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: wangyoucao577/go-release-action@v1.17
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
goos: ${{ matrix.goos }}
|
||||
goarch: ${{ matrix.goarch }}
|
||||
extra_files: LICENSE README.md
|
||||
asset_name: hilbish-${{ matrix.goos }}-${{ matrix.goarch }}
|
||||
build:
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
# build and publish in parallel: linux/386, linux/amd64, windows/386, windows/amd64, darwin/amd64
|
||||
- goos: linux
|
||||
os: ubuntu-latest
|
||||
# - windows
|
||||
# - darwin
|
||||
goarch:
|
||||
- amd64
|
||||
exclude:
|
||||
- goarch: "386"
|
||||
goos: darwin
|
||||
steps:
|
||||
- name: Install readline
|
||||
run: sudo apt install libreadline-dev
|
||||
- uses: actions/checkout@v2
|
||||
- uses: wangyoucao577/go-release-action@v1.17
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
goos: ${{ matrix.goos }}
|
||||
goarch: ${{ matrix.goarch }}
|
||||
extra_files: LICENSE README.md
|
||||
asset_name: hilbish-${{ matrix.goos }}-${{ matrix.goarch }}
|
||||
|
||||
|
|
Loading…
Reference in New Issue