Skip to content

Commit

Permalink
ci: Fixing alpine build-test failure (#902)
Browse files Browse the repository at this point in the history
* optional alpine test + limited concurrency
  • Loading branch information
CharlieMc0 authored Aug 2, 2023
1 parent 5e1ac4b commit 53cbd86
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ jobs:
build-alpine-and-test:
runs-on: ["ubuntu-latest"]
timeout-minutes: 30
if: startsWith(github.ref, 'refs/tags/') || startsWith(github.ref, 'refs/heads/develop')
concurrency:
group: "alpine-build-test"
steps:
- uses: actions/checkout@v3

Expand Down Expand Up @@ -159,13 +162,15 @@ jobs:
g++
libusb-dev
linux-headers
git
shell-name: alpine.sh

- name: setup-git-credentials
uses: de-vri-es/[email protected]
with:
credentials: ${{ secrets.PAT_GITHUB_SERVICE_ACCT }}


- name: Build zetacored and zetaclientd
env:
CGO_ENABLED: 1
Expand All @@ -174,6 +179,7 @@ jobs:
shell: alpine.sh --root {0}
run: |
apk add --no-cache --update
make clean
go mod tidy
make clean
make install-testnet
Expand Down Expand Up @@ -203,6 +209,7 @@ jobs:
path: |
zetacored-alpine-*
zetaclientd-alpine-*
- name: Clean Up Alpine Workspace
if: always()
shell: alpine.sh --root {0}
Expand Down

0 comments on commit 53cbd86

Please sign in to comment.