|
42 | 42 | generator: Ninja
|
43 | 43 | build_type: Release
|
44 | 44 | pccl_build_cuda_support: OFF
|
| 45 | + arch: x64 |
45 | 46 |
|
46 | 47 | - runs-on: [ self-hosted, Linux, X64, cuda ]
|
47 | 48 | os: ubuntu-latest
|
|
51 | 52 | generator: Ninja
|
52 | 53 | build_type: Release
|
53 | 54 | pccl_build_cuda_support: ON
|
| 55 | + arch: x64 |
54 | 56 |
|
55 | 57 | # Windows configurations using self-hosted runners
|
56 | 58 | # x86_64, no cuda
|
|
62 | 64 | generator: Ninja
|
63 | 65 | build_type: Release
|
64 | 66 | pccl_build_cuda_support: OFF
|
| 67 | + arch: x64 |
65 | 68 |
|
66 | 69 | # x86_64 with cuda
|
67 | 70 | - runs-on: [ self-hosted, Windows, X64, cuda ]
|
|
72 | 75 | generator: Ninja
|
73 | 76 | build_type: Release
|
74 | 77 | pccl_build_cuda_support: ON
|
| 78 | + arch: x64 |
75 | 79 |
|
76 | 80 | # aarch64, no cuda (cross-compile, no testing!)
|
77 | 81 | - runs-on: [ self-hosted, Windows, X64, cpu ]
|
|
83 | 87 | generator: Ninja
|
84 | 88 | build_type: Release
|
85 | 89 | pccl_build_cuda_support: OFF
|
| 90 | + arch: arm64 |
86 | 91 |
|
87 | 92 | # MacOS configuration using self-hosted runners
|
88 | 93 | - runs-on: [ self-hosted, macOS, ARM64, cpu ]
|
|
93 | 98 | generator: Ninja
|
94 | 99 | build_type: Release
|
95 | 100 | pccl_build_cuda_support: OFF
|
| 101 | + arch: arm64 |
96 | 102 |
|
97 | 103 | steps:
|
98 | 104 | - uses: actions/checkout@v4
|
@@ -209,13 +215,15 @@ jobs:
|
209 | 215 | - name: Zip artifacts (Unix)
|
210 | 216 | if: runner.os != 'Windows'
|
211 | 217 | run: |
|
212 |
| - zip -r artifacts/libpccl.zip artifacts/lib artifacts/include |
| 218 | + cd artifacts |
| 219 | + zip -r libpccl.zip lib include |
213 | 220 |
|
214 | 221 | - name: Zip artifacts (Windows)
|
215 | 222 | if: runner.os == 'Windows'
|
216 | 223 | shell: powershell
|
217 | 224 | run: |
|
218 |
| - Compress-Archive -Path artifacts\lib, artifacts\include -DestinationPath artifacts\libpccl.zip |
| 225 | + cd artifacts |
| 226 | + Compress-Archive -Path lib, include -DestinationPath libpccl.zip |
219 | 227 |
|
220 | 228 | - name: Create Python virtual environment (Unix)
|
221 | 229 | if: ${{ runner.os != 'Windows' && matrix.is_host_arch }}
|
@@ -315,5 +323,5 @@ jobs:
|
315 | 323 | with:
|
316 | 324 | upload_url: ${{ needs.create_release.outputs.upload_url }}
|
317 | 325 | asset_path: artifacts/libpccl.zip
|
318 |
| - asset_name: libpccl-${{ runner.os }}-${{ matrix.build_type }}-${{ matrix.pccl_build_cuda_support == 'ON' && 'cuda' || 'nocuda' }}-${{ matrix.is_host_arch && 'host' || 'cross' }}.zip |
| 326 | + asset_name: libpccl-${{ runner.os }}-${{ matrix.build_type }}-${{ matrix.pccl_build_cuda_support == 'ON' && 'cuda' || 'nocuda' }}-${{ matrix.arch }}.zip |
319 | 327 | asset_content_type: application/zip
|
0 commit comments