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