Skip to content

Commit

Permalink
support all termux archs
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed May 31, 2024
1 parent 9fbb10c commit b752df7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

build:
runs-on: ubuntu-latest
container: ghcr.io/carapace-sh/go:1.22
container: ghcr.io/carapace-sh/go:1.22-1
steps:
- name: shallow clone
uses: actions/checkout@v4
Expand Down Expand Up @@ -48,11 +48,15 @@ jobs:
run: go run ./cmd/carapace-lint completers/*/cmd/*.go

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
run: |
git clone https://github.com/rsteube/goreleaser --branch termux-arm ../goreleaser
(cd ../goreleaser && go install)
goreleaser release --clean
# uses: goreleaser/goreleaser-action@v5
if: startsWith(github.ref, 'refs/tags/')
with:
version: latest
args: release --clean
# with:
# version: latest
# args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
AUR_KEY: ${{ secrets.AUR_KEY }}
Expand Down
5 changes: 4 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,14 @@ builds:
- release
- id: termux
env:
- CGO_ENABLED=0
- CGO_ENABLED=1
goos:
- android
goarch:
- amd64
- arm64
- arm
- "386"
main: ./cmd/carapace
binary: carapace
tags:
Expand Down

0 comments on commit b752df7

Please sign in to comment.