Drop matrix
Some checks failed
Test and build / Build (push) Failing after 1m6s

This commit is contained in:
2026-02-23 16:37:33 +01:00
parent 4408534ef7
commit eb2157b812

View File

@@ -33,18 +33,6 @@ jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
include:
- goos: linux
goarch: amd64
goarm: ""
- goos: linux
goarch: arm
goarm: "6"
- goos: linux
goarch: arm
goarm: "7"
steps:
- name: Checkout
uses: actions/checkout@v6
@@ -57,15 +45,26 @@ jobs:
run: go mod download
- name: Make build directory
run: mkdir -p build && readlink -f build
- name: Set target variables
- name: Build amd64
env:
GOOS: linux
GOARCH: amd64
run: |
echo "GOOS=${{ matrix.goos }}" >> $GITHUB_ENV
echo "GOARCH=${{ matrix.goarch }}" >> $GITHUB_ENV
if [ -n "${{ matrix.goarm }}" ]; then
echo "GOARM=${{ matrix.goarm }}" >> $GITHUB_ENV
fi
- name: Build
run: go build -o build/hamview-receiver.${{ matrix.goarch }}${{ matrix.goarm }} . && readlink -f build/hamview-receiver.${{ matrix.goarch }}${{ matrix.goarm }}
GOOS=$GOOS GOARCH=$GOARCH go build -o build/hamview-receiver-$GOARCH . && readlink -f build/hamview-receiver-$GOARCH
- name: Build arm6
env:
GOOS: linux
GOARCH: arm
GOARM: 6
run: |
GOOS=$GOOS GOARCH=$GOARCH GOARM=$GOARM go build -o build/hamview-receiver-$GOARCH$GOARM . && readlink -f build/hamview-receiver-$GOARCH$GOARM
- name: Build arm7
env:
GOOS: linux
GOARCH: arm
GOARM: 7
run: |
GOOS=$GOOS GOARCH=$GOARCH GOARM=$GOARM go build -o build/hamview-receiver-$GOARCH$GOARM . && readlink -f build/hamview-receiver-$GOARCH$GOARM
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log into Docker Container Registry