ci: try to build for linux only and install readline before

pull/59/head
sammyette 2021-05-20 18:03:28 -04:00
parent fd32275f70
commit b9864ce4c6
No known key found for this signature in database
GPG Key ID: 50EE40A2809851F5
1 changed files with 28 additions and 25 deletions

View File

@ -13,18 +13,20 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
include:
# build and publish in parallel: linux/386, linux/amd64, windows/386, windows/amd64, darwin/amd64 # build and publish in parallel: linux/386, linux/amd64, windows/386, windows/amd64, darwin/amd64
goos: - goos: linux
- linux os: ubuntu-latest
- windows # - windows
- darwin # - darwin
goarch: goarch:
- "386"
- amd64 - amd64
exclude: exclude:
- goarch: "386" - goarch: "386"
goos: darwin goos: darwin
steps: steps:
- name: Install readline
run: sudo apt install libreadline-dev
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: wangyoucao577/go-release-action@v1.17 - uses: wangyoucao577/go-release-action@v1.17
with: with:
@ -33,3 +35,4 @@ jobs:
goarch: ${{ matrix.goarch }} goarch: ${{ matrix.goarch }}
extra_files: LICENSE README.md extra_files: LICENSE README.md
asset_name: hilbish-${{ matrix.goos }}-${{ matrix.goarch }} asset_name: hilbish-${{ matrix.goos }}-${{ matrix.goarch }}