@@ -13,14 +13,13 @@ jobs:
1313 fail-fast : false
1414 matrix :
1515 target :
16- - { platform: linux, arch: x86_64, os: ubuntu-latest, executable-name: "monoteny" }
17- # - { platform: linux, arch: x86_32, os: ubuntu-22.04 }
18- # - { platform: linux, arch: arm64, os: ubuntu-22.04-arm }
19- # - { platform: linux, arch: arm32, os: ubuntu-22.04-arm }
20- - { platform: windows, arch: x86_64, os: windows-latest, executable-name: "monoteny.exe" }
21- # - { platform: windows, arch: x86_32, os: windows-latest }
22- # - { platform: windows, arch: arm64, os: windows-latest }
23- - { platform: macos, arch: universal, os: macos-latest, executable-name: "monoteny" }
16+ - { name: "linux-x86", target: "i686-unknown-linux-gnu", executable-name: "monoteny", os: ubuntu-latest }
17+ - { name: "linux-x86_64", target: "x86_64-unknown-linux-gnu", executable-name: "monoteny", os: ubuntu-latest, }
18+ - { name: "linux-aarch64", target: "aarch64-unknown-linux-gnu", executable-name: "monoteny", os: ubuntu-latest, }
19+ - { name: "windows-x86", target: "i686-pc-windows-msvc", os: windows-latest, executable-name: "monoteny.exe" }
20+ - { name: "windows-x86_64", target: "x86_64-pc-windows-msvc", os: windows-latest, executable-name: "monoteny.exe" }
21+ - { name: "macos-x86", target: "x86_64-apple-darwin", executable-name: "monoteny", os: macos-latest }
22+ - { name: "macos-aarch64", target: "aarch64-apple-darwin", executable-name: "monoteny", os: macos-latest }
2423
2524 runs-on : ${{ matrix.target.os }}
2625
@@ -32,10 +31,10 @@ jobs:
3231 prefix-key : " main"
3332 save-if : ${{ github.ref == 'refs/heads/main' }}
3433 - name : Build
35- run : cargo build --release --verbose
34+ run : cargo build --release --verbose --target ${{ matrix.target.target }}
3635 - name : Upload Artifact
3736 uses : actions/upload-artifact@v4
3837 with :
39- name : Monoteny-${{ matrix.target.platform }}-${{ matrix.target.arch }}
38+ name : Monoteny-${{ matrix.target.name }}
4039 path : |
4140 ${{ github.workspace }}/target/release/${{ matrix.target.executable-name }}
0 commit comments