Skip to content

Commit e5b15fc

Browse files
committed
Enhance CI configuration to support multi-platform builds
1 parent 97bbb76 commit e5b15fc

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/go.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@ on:
99
jobs:
1010

1111
build:
12-
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
platform: ['linux/amd64', 'linux/arm64']
15+
name: Build ${{ matrix.platform }}
16+
runs-on: ${{ matrix.platform == 'linux/arm64' && 'ubuntu-24.04-arm' || 'ubuntu-24.04' }}
17+
1318
steps:
1419
- uses: actions/checkout@v4
1520

0 commit comments

Comments
 (0)