8484 os : ubuntu-latest
8585 - tuple : nvptx64-nvidia-cuda
8686 os : ubuntu-latest
87+ - tuple : amdgcn-amd-amdhsa
88+ os : ubuntu-latest
8789 - tuple : thumbv6m-none-eabi
8890 os : ubuntu-latest
8991 - tuple : thumbv7m-none-eabi
@@ -201,6 +203,10 @@ jobs:
201203 tuple : aarch64-apple-ios-macabi
202204 os : macos-15
203205 norun : true # https://github.com/rust-lang/stdarch/issues/1206
206+ - target :
207+ tuple : amdgcn-amd-amdhsa
208+ os : ubuntu-latest
209+ norun : true
204210
205211 steps :
206212 - uses : actions/checkout@v4
@@ -212,12 +218,17 @@ jobs:
212218
213219 - run : rustup target add ${{ matrix.target.tuple }}
214220 shell : bash
215- if : matrix.build_std == ''
221+ if : matrix.build_std == '' && matrix.target.tuple != 'amdgcn-amd-amdhsa'
216222 - run : |
217223 rustup component add rust-src
218224 echo "CARGO_UNSTABLE_BUILD_STD=std" >> $GITHUB_ENV
219225 shell: bash
220226 if: matrix.build_std != ''
227+ - run : |
228+ rustup component add rust-src
229+ echo "CARGO_UNSTABLE_BUILD_STD=core,alloc" >> $GITHUB_ENV
230+ shell: bash
231+ if: matrix.target.tuple == 'amdgcn-amd-amdhsa'
221232
222233 # Configure some env vars based on matrix configuration
223234 - run : echo "PROFILE=${{matrix.profile}}" >> $GITHUB_ENV
@@ -233,7 +244,7 @@ jobs:
233244 if : matrix.disable_assert_instr != ''
234245 - run : echo "NOSTD=1" >> $GITHUB_ENV
235246 shell : bash
236- if : startsWith(matrix.target.tuple, 'thumb') || matrix.target.tuple == 'nvptx64-nvidia-cuda'
247+ if : startsWith(matrix.target.tuple, 'thumb') || matrix.target.tuple == 'nvptx64-nvidia-cuda' || matrix.target.tuple == 'amdgcn-amd-amdhsa'
237248
238249 # Windows & OSX go straight to `run.sh` ...
239250 - run : ./ci/run.sh
0 commit comments