|
| 1 | +# This workflow will build a .NET project |
| 2 | +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net |
| 3 | + |
| 4 | +name: Satori |
| 5 | + |
| 6 | +on: |
| 7 | + push: |
| 8 | + branches: [ "*" ] |
| 9 | + |
| 10 | +jobs: |
| 11 | + build_linux_musl_x64: |
| 12 | + |
| 13 | + runs-on: ubuntu-latest |
| 14 | + container: |
| 15 | + image: mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-net10.0-cross-amd64-musl |
| 16 | + env: |
| 17 | + ROOTFS_DIR: /crossrootfs/x64/ |
| 18 | + steps: |
| 19 | + - uses: actions/checkout@v4 |
| 20 | + - name: Build |
| 21 | + run: ./build.sh -s clr --cross -c Release -arch x64 |
| 22 | + - name: Publish Artifacts |
| 23 | + uses: actions/upload-artifact@v4.6.2 |
| 24 | + with: |
| 25 | + name: linux_musl_x64 |
| 26 | + path: | |
| 27 | + artifacts/bin/coreclr/linux.x64.Release/libcoreclr.so |
| 28 | + artifacts/bin/coreclr/linux.x64.Release/libclrjit.so |
| 29 | + artifacts/bin/coreclr/linux.x64.Release/System.Private.CoreLib.dll |
| 30 | +
|
| 31 | + build_linux_musl_arm64: |
| 32 | + |
| 33 | + runs-on: ubuntu-latest |
| 34 | + container: |
| 35 | + image: mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-net10.0-cross-arm64-musl |
| 36 | + env: |
| 37 | + ROOTFS_DIR: /crossrootfs/arm64/ |
| 38 | + steps: |
| 39 | + - uses: actions/checkout@v4 |
| 40 | + - name: Build |
| 41 | + run: ./build.sh -s clr --cross -c Release -arch arm64 |
| 42 | + - name: Publish Artifacts |
| 43 | + uses: actions/upload-artifact@v4.6.2 |
| 44 | + with: |
| 45 | + name: linux_musl_arm64 |
| 46 | + path: | |
| 47 | + artifacts/bin/coreclr/linux.arm64.Release/libcoreclr.so |
| 48 | + artifacts/bin/coreclr/linux.arm64.Release/libclrjit.so |
| 49 | + artifacts/bin/coreclr/linux.arm64.Release/System.Private.CoreLib.dll |
| 50 | +
|
| 51 | + build_linux_x64: |
| 52 | + |
| 53 | + runs-on: ubuntu-latest |
| 54 | + container: |
| 55 | + image: mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-net10.0-cross-amd64 |
| 56 | + env: |
| 57 | + ROOTFS_DIR: /crossrootfs/x64/ |
| 58 | + steps: |
| 59 | + - uses: actions/checkout@v4 |
| 60 | + - name: Build |
| 61 | + run: ./build.sh -s clr --cross -c Release -arch x64 |
| 62 | + - name: Publish Artifacts |
| 63 | + uses: actions/upload-artifact@v4.6.2 |
| 64 | + with: |
| 65 | + name: linux_x64 |
| 66 | + path: | |
| 67 | + artifacts/bin/coreclr/linux.x64.Release/libcoreclr.so |
| 68 | + artifacts/bin/coreclr/linux.x64.Release/libclrjit.so |
| 69 | + artifacts/bin/coreclr/linux.x64.Release/System.Private.CoreLib.dll |
| 70 | +
|
| 71 | + build_linux_arm64: |
| 72 | + |
| 73 | + runs-on: ubuntu-latest |
| 74 | + container: |
| 75 | + image: mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-net10.0-cross-arm64 |
| 76 | + env: |
| 77 | + ROOTFS_DIR: /crossrootfs/arm64/ |
| 78 | + steps: |
| 79 | + - uses: actions/checkout@v4 |
| 80 | + - name: Build |
| 81 | + run: ./build.sh -s clr --cross -c Release -arch arm64 |
| 82 | + - name: Publish Artifacts |
| 83 | + uses: actions/upload-artifact@v4.6.2 |
| 84 | + with: |
| 85 | + name: linux_arm64 |
| 86 | + path: | |
| 87 | + artifacts/bin/coreclr/linux.arm64.Release/libcoreclr.so |
| 88 | + artifacts/bin/coreclr/linux.arm64.Release/libclrjit.so |
| 89 | + artifacts/bin/coreclr/linux.arm64.Release/System.Private.CoreLib.dll |
| 90 | +
|
| 91 | + build_windows_x64: |
| 92 | + |
| 93 | + runs-on: windows-2025 |
| 94 | + steps: |
| 95 | + - uses: actions/checkout@v4 |
| 96 | + - name: Build |
| 97 | + run: ./build.cmd -s clr -c Release -arch x64 |
| 98 | + - name: Publish Artifacts |
| 99 | + uses: actions/upload-artifact@v4.6.2 |
| 100 | + with: |
| 101 | + name: windows_x64 |
| 102 | + path: | |
| 103 | + artifacts/bin/coreclr/windows.x64.Release/coreclr.dll |
| 104 | + artifacts/bin/coreclr/windows.x64.Release/clrjit.dll |
| 105 | + artifacts/bin/coreclr/windows.x64.Release/System.Private.CoreLib.dll |
| 106 | +
|
| 107 | + build_windows_arm64: |
| 108 | + |
| 109 | + runs-on: windows-2025 |
| 110 | + steps: |
| 111 | + - uses: actions/checkout@v4 |
| 112 | + - name: Build |
| 113 | + run: ./build.cmd -s clr -c Release -arch arm64 |
| 114 | + - name: Publish Artifacts |
| 115 | + uses: actions/upload-artifact@v4.6.2 |
| 116 | + with: |
| 117 | + name: windows_arm64 |
| 118 | + path: | |
| 119 | + artifacts/bin/coreclr/windows.arm64.Release/coreclr.dll |
| 120 | + artifacts/bin/coreclr/windows.arm64.Release/clrjit.dll |
| 121 | + artifacts/bin/coreclr/windows.arm64.Release/System.Private.CoreLib.dll |
0 commit comments