Merge pull request #17 from quexten/feature/arm_and_x86_builds

Add arm and x86 builds
This commit is contained in:
Bernd Schoolmann 2023-12-22 15:16:34 +01:00 committed by GitHub
commit 4934c529b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -25,11 +25,15 @@ jobs:
- name: Build with All features
run: go build -o goldwarden_linux_x86_64 -v .
- name: Build minimal featureset
- name: Build minimal x86_64 featureset
run: go build -tags nofido2 -tags noautofill -o goldwarden_linux_minimal_x86_64 -v .
- name: Build minimal x86 featureset
run: GOARCH=386 go build -tags nofido2 -tags noautofill -o goldwarden_linux_x86 -v .
- name: Build minimal arm64 featureset
run: GOARCH=arm64 go build -tags nofido2 -tags noautofill -o goldwarden_linux_arm64 -v .
- uses: AButler/upload-release-assets@v2.0
with:
files: './goldwarden_linux_x86_64;./goldwarden_linux_x86_64_minimal'
files: './goldwarden_linux_x86_64;./goldwarden_linux_x86_64_minimal;./goldwarden_linux_x86;./goldwarden_linux_arm64'
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Validate ArchLinux PKGBUILD
uses: hapakaien/archlinux-package-action@v2