Use armhf for ARM builds

This commit is contained in:
Deluan 2022-09-27 16:47:47 -04:00
parent 416b5c7d13
commit ded9ab53e5
3 changed files with 8 additions and 5 deletions

View File

@ -141,7 +141,7 @@ jobs:
- name: Run GoReleaser - SNAPSHOT - name: Run GoReleaser - SNAPSHOT
if: startsWith(github.ref, 'refs/tags/') != true 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: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
@ -149,7 +149,7 @@ jobs:
- name: Run GoReleaser - RELEASE - name: Run GoReleaser - RELEASE
if: startsWith(github.ref, 'refs/tags/') 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: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:

View File

@ -18,6 +18,7 @@ builds:
- id: navidrome_linux_386 - id: navidrome_linux_386
env: env:
- CGO_ENABLED=1 - CGO_ENABLED=1
- PKG_CONFIG_PATH=/i386/lib/pkgconfig
goos: goos:
- linux - linux
goarch: goarch:
@ -31,8 +32,9 @@ builds:
- id: navidrome_linux_arm - id: navidrome_linux_arm
env: env:
- CGO_ENABLED=1 - CGO_ENABLED=1
- CC=arm-linux-gnueabi-gcc - CC=arm-linux-gnueabihf-gcc
- CXX=arm-linux-gnueabi-g++ - CXX=arm-linux-gnueabihf-g++
- PKG_CONFIG_PATH=/arm/lib/pkgconfig
goos: goos:
- linux - linux
goarch: goarch:
@ -52,6 +54,7 @@ builds:
- CGO_ENABLED=1 - CGO_ENABLED=1
- CC=aarch64-linux-gnu-gcc - CC=aarch64-linux-gnu-gcc
- CXX=aarch64-linux-gnu-g++ - CXX=aarch64-linux-gnu-g++
- PKG_CONFIG_PATH=/arm64/lib/pkgconfig
goos: goos:
- linux - linux
goarch: goarch:

View File

@ -9,7 +9,7 @@ GIT_SHA=source_archive
GIT_TAG=$(patsubst navidrome-%,v%,$(notdir $(PWD))) GIT_TAG=$(patsubst navidrome-%,v%,$(notdir $(PWD)))
endif 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 setup: check_env download-deps setup-git ##@1_Run_First Install dependencies and prepare development environment
@echo Downloading Node dependencies... @echo Downloading Node dependencies...