Skip to content

Commit 9896db0

Browse files
committed
Compile GCC on Ubuntu ARM
1 parent 3aada9d commit 9896db0

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,17 @@ on:
99

1010
jobs:
1111
build:
12-
runs-on: ubuntu-24.04
12+
runs-on: ${{ matrix.os.image }}
1313

1414
strategy:
1515
fail-fast: false
1616
matrix:
17+
os:
18+
- { image: ubuntu-24.04, asset_name_suffix: "" }
19+
- { image: ubuntu-24.04-arm, asset_name_suffix: "-aarch64" }
1720
version:
18-
- { use_patch: true, asset_name: "gcc-15-without-int128.deb" }
19-
- { use_path: false, asset_name: "gcc-15.deb" }
21+
- { use_patch: true, asset_name: "gcc-15-without-int128" }
22+
- { use_path: false, asset_name: "gcc-15" }
2023

2124
steps:
2225
- uses: actions/checkout@v2
@@ -73,7 +76,7 @@ jobs:
7376
with:
7477
repo_token: ${{ secrets.GITHUB_TOKEN }}
7578
file: /home/runner/work/gcc/install/usr/lib/libgccjit.so.0.0.1
76-
asset_name: libgccjit.so
79+
asset_name: libgccjit${{ matrix.os.asset_name_suffix }}.so
7780
tag: master-${{ steps.tag_name.outputs.TAG_NAME }}
7881

7982
- name: Create release
@@ -82,5 +85,5 @@ jobs:
8285
with:
8386
repo_token: ${{ secrets.GITHUB_TOKEN }}
8487
file: /home/runner/work/gcc/gcc-15.deb
85-
asset_name: ${{ matrix.version.asset_name }}
88+
asset_name: ${{ matrix.version.asset_name }}${{ matrix.os.asset_name_suffix }}.deb
8689
tag: master-${{ steps.tag_name.outputs.TAG_NAME }}

0 commit comments

Comments
 (0)