Fix ARM v5 and v6 builds, by going back to armel.

Also upgrades Go to 1.19.3. Closes #1968
This commit is contained in:
Deluan 2022-11-07 17:16:30 -05:00
parent 9c433b5d68
commit 3a462c7f07
3 changed files with 10 additions and 10 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-3 uses: docker://deluan/ci-goreleaser:1.19.3-1
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-3 uses: docker://deluan/ci-goreleaser:1.19.3-1
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:

View File

@ -22,7 +22,7 @@ builds:
goos: goos:
- linux - linux
goarch: goarch:
- 386 - "386"
flags: flags:
- -tags=embed,netgo - -tags=embed,netgo
ldflags: ldflags:
@ -32,17 +32,17 @@ builds:
- id: navidrome_linux_arm - id: navidrome_linux_arm
env: env:
- CGO_ENABLED=1 - CGO_ENABLED=1
- CC=arm-linux-gnueabihf-gcc - CC=arm-linux-gnueabi-gcc
- CXX=arm-linux-gnueabihf-g++ - CXX=arm-linux-gnueabi-g++
- PKG_CONFIG_PATH=/arm/lib/pkgconfig - PKG_CONFIG_PATH=/arm/lib/pkgconfig
goos: goos:
- linux - linux
goarch: goarch:
- arm - arm
goarm: goarm:
- 5 - "5"
- 6 - "6"
- 7 - "7"
flags: flags:
- -tags=embed,netgo - -tags=embed,netgo
ldflags: ldflags:
@ -74,7 +74,7 @@ builds:
goos: goos:
- windows - windows
goarch: goarch:
- 386 - "386"
flags: flags:
- -tags=embed,netgo - -tags=embed,netgo
ldflags: ldflags:

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-3 ## https://github.com/navidrome/ci-goreleaser CI_RELEASER_VERSION=1.19.3-1 ## 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...