|
9 | 9 |
|
10 | 10 | jobs: |
11 | 11 | build: |
12 | | - runs-on: ubuntu-24.04 |
| 12 | + runs-on: ${{ matrix.os.image }} |
13 | 13 |
|
14 | 14 | strategy: |
15 | 15 | fail-fast: false |
16 | 16 | matrix: |
| 17 | + os: |
| 18 | + - { image: ubuntu-24.04, asset_name_suffix: "", arch: "amd64" } |
| 19 | + - { image: ubuntu-24.04-arm, asset_name_suffix: "-aarch64", arch: "arm64" } |
17 | 20 | 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" } |
20 | 23 |
|
21 | 24 | steps: |
22 | 25 | - uses: actions/checkout@v2 |
|
45 | 48 | cat > install/DEBIAN/control << EOF |
46 | 49 | Package: gcc-15 |
47 | 50 | Version: 15 |
48 | | - Architecture: amd64 |
| 51 | + Architecture: ${{ matrix.os.arch }} |
49 | 52 | Maintainer: Antoni Boucher <bouanto@zoho.com> |
50 | 53 | Description: gcc 15 for rustc_codegen_gcc CI |
51 | 54 | EOF |
|
73 | 76 | with: |
74 | 77 | repo_token: ${{ secrets.GITHUB_TOKEN }} |
75 | 78 | 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 |
77 | 80 | tag: master-${{ steps.tag_name.outputs.TAG_NAME }} |
78 | 81 |
|
79 | 82 | - name: Create release |
|
82 | 85 | with: |
83 | 86 | repo_token: ${{ secrets.GITHUB_TOKEN }} |
84 | 87 | 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 |
86 | 89 | tag: master-${{ steps.tag_name.outputs.TAG_NAME }} |
0 commit comments