Skip to content

Commit

Permalink
Use armhf for ARM builds
Browse files Browse the repository at this point in the history
  • Loading branch information
deluan committed Sep 27, 2022
1 parent 416b5c7 commit ded9ab5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pipeline.yml
Expand Up @@ -141,15 +141,15 @@ jobs:

- name: Run GoReleaser - SNAPSHOT
if: startsWith(github.ref, 'refs/tags/') != true
uses: docker://deluan/ci-goreleaser:1.19.1-2
uses: docker://deluan/ci-goreleaser:1.19.1-3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: goreleaser release --rm-dist --skip-publish --snapshot

- name: Run GoReleaser - RELEASE
if: startsWith(github.ref, 'refs/tags/')
uses: docker://deluan/ci-goreleaser:1.19.1-2
uses: docker://deluan/ci-goreleaser:1.19.1-3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
7 changes: 5 additions & 2 deletions .goreleaser.yml
Expand Up @@ -18,6 +18,7 @@ builds:
- id: navidrome_linux_386
env:
- CGO_ENABLED=1
- PKG_CONFIG_PATH=/i386/lib/pkgconfig
goos:
- linux
goarch:
Expand All @@ -31,8 +32,9 @@ builds:
- id: navidrome_linux_arm
env:
- CGO_ENABLED=1
- CC=arm-linux-gnueabi-gcc
- CXX=arm-linux-gnueabi-g++
- CC=arm-linux-gnueabihf-gcc
- CXX=arm-linux-gnueabihf-g++
- PKG_CONFIG_PATH=/arm/lib/pkgconfig
goos:
- linux
goarch:
Expand All @@ -52,6 +54,7 @@ builds:
- CGO_ENABLED=1
- CC=aarch64-linux-gnu-gcc
- CXX=aarch64-linux-gnu-g++
- PKG_CONFIG_PATH=/arm64/lib/pkgconfig
goos:
- linux
goarch:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -9,7 +9,7 @@ GIT_SHA=source_archive
GIT_TAG=$(patsubst navidrome-%,v%,$(notdir $(PWD)))
endif

CI_RELEASER_VERSION=1.19.1-2 ## https://github.com/navidrome/ci-goreleaser
CI_RELEASER_VERSION=1.19.1-3 ## https://github.com/navidrome/ci-goreleaser

setup: check_env download-deps setup-git ##@1_Run_First Install dependencies and prepare development environment
@echo Downloading Node dependencies...
Expand Down

0 comments on commit ded9ab5

Please sign in to comment.