mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-24 00:39:26 +00:00
.gitea: fix apt update (#31921)
This commit is contained in:
parent
e817a569fb
commit
31d898d586
2 changed files with 21 additions and 7 deletions
|
|
@ -37,6 +37,7 @@ jobs:
|
||||||
|
|
||||||
- name: Install deb toolchain
|
- name: Install deb toolchain
|
||||||
run: |
|
run: |
|
||||||
|
apt-get update
|
||||||
apt-get -yq --no-install-suggests --no-install-recommends install devscripts debhelper dput fakeroot
|
apt-get -yq --no-install-suggests --no-install-recommends install devscripts debhelper dput fakeroot
|
||||||
|
|
||||||
- name: Run ci.go
|
- name: Run ci.go
|
||||||
|
|
|
||||||
|
|
@ -17,20 +17,32 @@ jobs:
|
||||||
go-version: 1.24
|
go-version: 1.24
|
||||||
cache: false
|
cache: false
|
||||||
|
|
||||||
- name: Run build (amd64)
|
- name: Install cross toolchain
|
||||||
env:
|
run: |
|
||||||
LINUX_SIGNING_KEY: ${{ secrets.LINUX_SIGNING_KEY }}
|
apt-get update
|
||||||
|
apt-get -yq --no-install-suggests --no-install-recommends install gcc-multilib
|
||||||
|
|
||||||
|
- name: Build (amd64)
|
||||||
run: |
|
run: |
|
||||||
go run build/ci.go install -arch amd64 -dlgo
|
go run build/ci.go install -arch amd64 -dlgo
|
||||||
go run build/ci.go archive -arch amd64 -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
|
|
||||||
|
|
||||||
- name: Run build (386)
|
- name: Create archive (amd64)
|
||||||
env:
|
env:
|
||||||
LINUX_SIGNING_KEY: ${{ secrets.LINUX_SIGNING_KEY }}
|
LINUX_SIGNING_KEY: ${{ secrets.LINUX_SIGNING_KEY }}
|
||||||
run: |
|
run: |
|
||||||
apt-get -yq --no-install-suggests --no-install-recommends install gcc-multilib
|
go run build/ci.go archive -arch amd64 -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
|
||||||
|
rm -f build/bin/*
|
||||||
|
|
||||||
|
- name: Build (386)
|
||||||
|
run: |
|
||||||
go run build/ci.go install -arch 386 -dlgo
|
go run build/ci.go install -arch 386 -dlgo
|
||||||
|
|
||||||
|
- name: Create archive (386)
|
||||||
|
env:
|
||||||
|
LINUX_SIGNING_KEY: ${{ secrets.LINUX_SIGNING_KEY }}
|
||||||
|
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/*
|
||||||
|
|
||||||
linux-arm:
|
linux-arm:
|
||||||
name: Linux Build (arm)
|
name: Linux Build (arm)
|
||||||
|
|
@ -46,7 +58,8 @@ jobs:
|
||||||
|
|
||||||
- name: Set up cross toolchain
|
- name: Set up cross toolchain
|
||||||
run: |
|
run: |
|
||||||
apt-get -yq --no-install-suggests --no-install-recommends --force-yes 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 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
|
||||||
ln -s /usr/include/asm-generic /usr/include/asm
|
ln -s /usr/include/asm-generic /usr/include/asm
|
||||||
|
|
||||||
- name: Run build (arm64)
|
- name: Run build (arm64)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue