From b1f8319824c895302f6ad773ab71394e9781c551 Mon Sep 17 00:00:00 2001 From: Pieter Hollander Date: Wed, 27 Mar 2024 10:12:10 +0100 Subject: [PATCH] Add riscv64 support. --- .gitea/workflows/go.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/go.yml b/.gitea/workflows/go.yml index 043d63f..01e8bcc 100644 --- a/.gitea/workflows/go.yml +++ b/.gitea/workflows/go.yml @@ -29,7 +29,8 @@ jobs: run: GOOS=linux GOARCH=arm64 go build -v -ldflags="-s -w -X 'main.Version=${{ github.ref_name }}'" -o bin/opendtu-logger-${{ github.ref_name }}-linux-arm64 - name: release-build-linux-arm run: GOOS=linux GOARCH=arm go build -v -ldflags="-s -w -X 'main.Version=${{ github.ref_name }}'" -o bin/opendtu-logger-${{ github.ref_name }}-linux-arm - + - name: release-build-linux-riscv64 + run: GOOS=linux GOARCH=riscv64 go build -v -ldflags="-s -w -X 'main.Version=${{ github.ref_name }}'" -o bin/opendtu-logger-${{ github.ref_name }}-linux-riscv64 - name: release-build-windows-amd64 run: GOOS=windows GOARCH=amd64 go build -v -ldflags="-s -w -X 'main.Version=${{ github.ref_name }}'" -o bin/opendtu-logger-${{ github.ref_name }}-windows-amd64.exe