.gitea: disable other builds

This commit is contained in:
Felix Lange 2025-07-04 18:09:32 +02:00
parent 27b705f42c
commit e5c01bcfaa

View file

@ -7,120 +7,120 @@ on:
workflow_dispatch: workflow_dispatch:
jobs: jobs:
linux-intel: # linux-intel:
name: Linux Build # name: Linux Build
runs-on: ubuntu-latest # runs-on: ubuntu-latest
steps: # steps:
- uses: actions/checkout@v4 # - uses: actions/checkout@v4
#
- name: Set up Go # - name: Set up Go
uses: actions/setup-go@v5 # uses: actions/setup-go@v5
with: # with:
go-version: 1.24 # go-version: 1.24
cache: false # cache: false
#
- name: Install cross toolchain # - name: Install cross toolchain
run: | # run: |
apt-get update # apt-get update
apt-get -yq --no-install-suggests --no-install-recommends install gcc-multilib # apt-get -yq --no-install-suggests --no-install-recommends install gcc-multilib
#
- name: Build (amd64) # - name: Build (amd64)
run: | # run: |
go run build/ci.go install -static -arch amd64 -dlgo # go run build/ci.go install -static -arch amd64 -dlgo
#
- name: Create/upload archive (amd64) # - name: Create/upload archive (amd64)
run: | # run: |
go run build/ci.go archive -arch amd64 -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds # go run build/ci.go archive -arch amd64 -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
rm -f build/bin/* # rm -f build/bin/*
env: # env:
LINUX_SIGNING_KEY: ${{ secrets.LINUX_SIGNING_KEY }} # LINUX_SIGNING_KEY: ${{ secrets.LINUX_SIGNING_KEY }}
AZURE_BLOBSTORE_TOKEN: ${{ secrets.AZURE_BLOBSTORE_TOKEN }} # AZURE_BLOBSTORE_TOKEN: ${{ secrets.AZURE_BLOBSTORE_TOKEN }}
#
- name: Build (386) # - name: Build (386)
run: | # run: |
go run build/ci.go install -static -arch 386 -dlgo # go run build/ci.go install -static -arch 386 -dlgo
#
- name: Create/upload archive (386) # - name: Create/upload archive (386)
run: | # run: |
go run build/ci.go archive -arch 386 -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds # go run build/ci.go archive -arch 386 -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
rm -f build/bin/* # rm -f build/bin/*
env: # env:
LINUX_SIGNING_KEY: ${{ secrets.LINUX_SIGNING_KEY }} # LINUX_SIGNING_KEY: ${{ secrets.LINUX_SIGNING_KEY }}
AZURE_BLOBSTORE_TOKEN: ${{ secrets.AZURE_BLOBSTORE_TOKEN }} # AZURE_BLOBSTORE_TOKEN: ${{ secrets.AZURE_BLOBSTORE_TOKEN }}
#
linux-arm: # linux-arm:
name: Linux Build (arm) # name: Linux Build (arm)
runs-on: ubuntu-latest # runs-on: ubuntu-latest
steps: # steps:
- uses: actions/checkout@v4 # - uses: actions/checkout@v4
#
- name: Set up Go # - name: Set up Go
uses: actions/setup-go@v5 # uses: actions/setup-go@v5
with: # with:
go-version: 1.24 # go-version: 1.24
cache: false # cache: false
#
- name: Install cross toolchain # - name: Install cross toolchain
run: | # run: |
apt-get update # apt-get update
apt-get -yq --no-install-suggests --no-install-recommends install gcc-arm-linux-gnueabi libc6-dev-armel-cross gcc-arm-linux-gnueabihf libc6-dev-armhf-cross gcc-aarch64-linux-gnu libc6-dev-arm64-cross # apt-get -yq --no-install-suggests --no-install-recommends install gcc-arm-linux-gnueabi libc6-dev-armel-cross gcc-arm-linux-gnueabihf libc6-dev-armhf-cross gcc-aarch64-linux-gnu libc6-dev-arm64-cross
ln -s /usr/include/asm-generic /usr/include/asm # ln -s /usr/include/asm-generic /usr/include/asm
#
- name: Build (arm64) # - name: Build (arm64)
run: | # run: |
go run build/ci.go install -static -dlgo -arch arm64 -cc aarch64-linux-gnu-gcc # go run build/ci.go install -static -dlgo -arch arm64 -cc aarch64-linux-gnu-gcc
#
- name: Create/upload archive (arm64) # - name: Create/upload archive (arm64)
run: | # run: |
go run build/ci.go archive -arch arm64 -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds # go run build/ci.go archive -arch arm64 -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
rm -fr build/bin/* # rm -fr build/bin/*
env: # env:
LINUX_SIGNING_KEY: ${{ secrets.LINUX_SIGNING_KEY }} # LINUX_SIGNING_KEY: ${{ secrets.LINUX_SIGNING_KEY }}
AZURE_BLOBSTORE_TOKEN: ${{ secrets.AZURE_BLOBSTORE_TOKEN }} # AZURE_BLOBSTORE_TOKEN: ${{ secrets.AZURE_BLOBSTORE_TOKEN }}
#
- name: Run build (arm5) # - name: Run build (arm5)
run: | # run: |
go run build/ci.go install -static -dlgo -arch arm -cc arm-linux-gnueabi-gcc # go run build/ci.go install -static -dlgo -arch arm -cc arm-linux-gnueabi-gcc
env: # env:
GOARM: "5" # GOARM: "5"
#
- name: Create/upload archive (arm5) # - name: Create/upload archive (arm5)
run: | # run: |
go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds # go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
env: # env:
GOARM: "5" # GOARM: "5"
LINUX_SIGNING_KEY: ${{ secrets.LINUX_SIGNING_KEY }} # LINUX_SIGNING_KEY: ${{ secrets.LINUX_SIGNING_KEY }}
AZURE_BLOBSTORE_TOKEN: ${{ secrets.AZURE_BLOBSTORE_TOKEN }} # AZURE_BLOBSTORE_TOKEN: ${{ secrets.AZURE_BLOBSTORE_TOKEN }}
#
- name: Run build (arm6) # - name: Run build (arm6)
run: | # run: |
go run build/ci.go install -static -dlgo -arch arm -cc arm-linux-gnueabi-gcc # go run build/ci.go install -static -dlgo -arch arm -cc arm-linux-gnueabi-gcc
env: # env:
GOARM: "6" # GOARM: "6"
#
- name: Create/upload archive (arm6) # - name: Create/upload archive (arm6)
run: | # run: |
go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds # go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
rm -fr build/bin/* # rm -fr build/bin/*
env: # env:
GOARM: "6" # GOARM: "6"
LINUX_SIGNING_KEY: ${{ secrets.LINUX_SIGNING_KEY }} # LINUX_SIGNING_KEY: ${{ secrets.LINUX_SIGNING_KEY }}
AZURE_BLOBSTORE_TOKEN: ${{ secrets.AZURE_BLOBSTORE_TOKEN }} # AZURE_BLOBSTORE_TOKEN: ${{ secrets.AZURE_BLOBSTORE_TOKEN }}
#
- name: Run build (arm7) # - name: Run build (arm7)
run: | # run: |
go run build/ci.go install -static -dlgo -arch arm -cc arm-linux-gnueabi-gcc # go run build/ci.go install -static -dlgo -arch arm -cc arm-linux-gnueabi-gcc
env: # env:
GOARM: "7" # GOARM: "7"
#
- name: Create/upload archive (arm7) # - name: Create/upload archive (arm7)
run: | # run: |
go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds # go run build/ci.go archive -arch arm -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
rm -fr build/bin/* # rm -fr build/bin/*
env: # env:
GOARM: "7" # GOARM: "7"
LINUX_SIGNING_KEY: ${{ secrets.LINUX_SIGNING_KEY }} # LINUX_SIGNING_KEY: ${{ secrets.LINUX_SIGNING_KEY }}
AZURE_BLOBSTORE_TOKEN: ${{ secrets.AZURE_BLOBSTORE_TOKEN }} # AZURE_BLOBSTORE_TOKEN: ${{ secrets.AZURE_BLOBSTORE_TOKEN }}
windows: windows:
name: Windows Build name: Windows Build
@ -158,27 +158,27 @@ jobs:
env: env:
GETH_MINGW: 'C:\msys64\mingw32' GETH_MINGW: 'C:\msys64\mingw32'
docker: # docker:
name: Docker Image # name: Docker Image
runs-on: ubuntu-latest # runs-on: ubuntu-latest
steps: # steps:
- uses: actions/checkout@v4 # - uses: actions/checkout@v4
#
- name: Set up QEMU # - name: Set up QEMU
uses: docker/setup-qemu-action@v3 # uses: docker/setup-qemu-action@v3
#
- name: Set up Docker Buildx # - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 # uses: docker/setup-buildx-action@v3
#
- name: Set up Go # - name: Set up Go
uses: actions/setup-go@v5 # uses: actions/setup-go@v5
with: # with:
go-version: 1.24 # go-version: 1.24
cache: false # cache: false
#
- name: Run docker build # - name: Run docker build
env: # env:
DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }} # DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }}
DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }} # DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }}
run: | # run: |
go run build/ci.go dockerx -platform linux/amd64,linux/arm64,linux/riscv64 -upload # go run build/ci.go dockerx -platform linux/amd64,linux/arm64,linux/riscv64 -upload