Skip to content

Commit b8307bd

Browse files
committed
Do not depend on QEMU.
1 parent 8ec31fb commit b8307bd

File tree

2 files changed

+21
-5
lines changed

2 files changed

+21
-5
lines changed

workflow-templates/publish-go-tester-task.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
build:
7979
needs: package-name-prefix
8080
name: Build ${{ matrix.os.artifact-name }}
81-
runs-on: ubuntu-latest
81+
runs-on: ${{ matrix.os.runner }}
8282
permissions:
8383
contents: read
8484

@@ -88,30 +88,39 @@ jobs:
8888
- task: Windows_32bit
8989
path: "*Windows_32bit.zip"
9090
artifact-name: Windows_X86-32
91+
runner: ubuntu-latest
9192
- task: Windows_64bit
9293
path: "*Windows_64bit.zip"
9394
artifact-name: Windows_X86-64
95+
runner: ubuntu-latest
9496
- task: Linux_32bit
9597
path: "*Linux_32bit.tar.gz"
9698
artifact-name: Linux_X86-32
99+
runner: ubuntu-latest
97100
- task: Linux_64bit
98101
path: "*Linux_64bit.tar.gz"
99102
artifact-name: Linux_X86-64
103+
runner: ubuntu-latest
100104
- task: Linux_ARMv6
101105
path: "*Linux_ARMv6.tar.gz"
102106
artifact-name: Linux_ARMv6
107+
runner: ubuntu-latest
103108
- task: Linux_ARMv7
104109
path: "*Linux_ARMv7.tar.gz"
105110
artifact-name: Linux_ARMv7
111+
runner: ubuntu-latest
106112
- task: Linux_ARM64
107113
path: "*Linux_ARM64.tar.gz"
108114
artifact-name: Linux_ARM64
115+
runner: ubuntu-24.04-arm
109116
- task: macOS_64bit
110117
path: "*macOS_64bit.tar.gz"
111118
artifact-name: macOS_64
119+
runner: ubuntu-latest
112120
- task: macOS_ARM64
113121
path: "*macOS_ARM64.tar.gz"
114122
artifact-name: macOS_ARM64
123+
runner: ubuntu-24.04-arm
115124

116125
steps:
117126
- name: Checkout repository

workflow-templates/release-go-task.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919
jobs:
2020
create-release-artifacts:
2121
name: Build ${{ matrix.os.artifact-suffix }}
22-
runs-on: ubuntu-latest
22+
runs-on: ${{ matrix.os.runner }}
2323
permissions:
2424
contents: read
2525

@@ -28,24 +28,34 @@ jobs:
2828
os:
2929
- task: Windows_32bit
3030
artifact-suffix: Windows_32bit
31+
runner: ubuntu-latest
3132
- task: Windows_64bit
3233
artifact-suffix: Windows_64bit
34+
runner: ubuntu-latest
3335
- task: Windows_ARM64
3436
artifact-suffix: Windows_ARM64
37+
runner: ubuntu-24.04-arm
3538
- task: Linux_32bit
3639
artifact-suffix: Linux_32bit
40+
runner: ubuntu-latest
3741
- task: Linux_64bit
3842
artifact-suffix: Linux_64bit
43+
runner: ubuntu-latest
3944
- task: Linux_ARMv6
4045
artifact-suffix: Linux_ARMv6
46+
runner: ubuntu-latest
4147
- task: Linux_ARMv7
4248
artifact-suffix: Linux_ARMv7
49+
runner: ubuntu-latest
4350
- task: Linux_ARM64
4451
artifact-suffix: Linux_ARM64
52+
runner: ubuntu-24.04-arm
4553
- task: macOS_64bit
4654
artifact-suffix: macOS_64bit
55+
runner: ubuntu-latest
4756
- task: macOS_ARM64
4857
artifact-suffix: macOS_ARM64
58+
runner: ubuntu-24.04-arm
4959

5060
steps:
5161
- name: Checkout repository
@@ -68,9 +78,6 @@ jobs:
6878
with:
6979
go-version-file: go.mod
7080

71-
- name: Setup QEMU
72-
uses: docker/setup-qemu-action@v3
73-
7481
- name: Build
7582
run: |
7683
go tool \

0 commit comments

Comments
 (0)