diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 058eb16400029..631619aa42e55 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,14 +9,17 @@ on: jobs: build: - runs-on: ubuntu-24.04 + runs-on: ${{ matrix.os.image }} strategy: fail-fast: false matrix: + os: + - { image: ubuntu-24.04, asset_name_suffix: "" } + - { image: ubuntu-24.04-arm, asset_name_suffix: "-aarch64" } version: - - { use_patch: true, asset_name: "gcc-15-without-int128.deb" } - - { use_path: false, asset_name: "gcc-15.deb" } + - { use_patch: true, asset_name: "gcc-15-without-int128" } + - { use_path: false, asset_name: "gcc-15" } steps: - uses: actions/checkout@v2 @@ -73,7 +76,7 @@ jobs: with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: /home/runner/work/gcc/install/usr/lib/libgccjit.so.0.0.1 - asset_name: libgccjit.so + asset_name: libgccjit${{ matrix.os.asset_name_suffix }}.so tag: master-${{ steps.tag_name.outputs.TAG_NAME }} - name: Create release @@ -82,5 +85,5 @@ jobs: with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: /home/runner/work/gcc/gcc-15.deb - asset_name: ${{ matrix.version.asset_name }} + asset_name: ${{ matrix.version.asset_name }}${{ matrix.os.asset_name_suffix }}.deb tag: master-${{ steps.tag_name.outputs.TAG_NAME }}