Skip to content

Commit 69c92f1

Browse files
committed
updates github actions
1 parent 3a54874 commit 69c92f1

2 files changed

Lines changed: 15 additions & 14 deletions

File tree

.github/scripts/run_install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ fi
170170
if [ "${CUDA}" == "true" ]; then
171171
# Linux environment
172172
## distribution from ubuntu 24.04
173-
UBUNTU_VERSION=ubuntu2404
173+
UBUNTU_VERSION=ubuntu2204
174174

175175
# CUDA_VERSION - specifies CUDA toolkit version
176176
# http://developer.download.nvidia.com/compute/cuda/repos/

.github/workflows/CI.yml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -413,48 +413,49 @@ jobs:
413413
shell: bash
414414

415415

416-
linuxCheck-HIP:
417-
name: Test on linux w/ HIP
418-
runs-on: ubuntu-latest
416+
linuxCheck-OpenCL:
417+
name: Test on linux w/ OpenCL
418+
runs-on: ubuntu-22.04
419419
needs: changesCheck
420420

421421
steps:
422422
- uses: actions/checkout@v4
423-
with:
424-
submodules: true # needs submodule content in folder external_libs/ROCm-HIP-CPU/
425423

426424
- name: Install packages
427425
env:
428-
HIP: true
426+
CUDA: true
427+
OPENCL: true
429428
run: ./.github/scripts/run_install.sh
430429
shell: bash
431430

432431
- name: Run build
433432
env:
434-
HIP: true
433+
CUDA: true
434+
OPENCL: true
435435
TESTFLAGS: --enable-debug
436436
run: ./.github/scripts/run_build.sh
437437
shell: bash
438438

439-
linuxCheck-OpenCL:
440-
name: Test on linux w/ OpenCL
439+
440+
linuxCheck-HIP:
441+
name: Test on linux w/ HIP
441442
runs-on: ubuntu-latest
442443
needs: changesCheck
443444

444445
steps:
445446
- uses: actions/checkout@v4
447+
with:
448+
submodules: true # needs submodule content in folder external_libs/ROCm-HIP-CPU/
446449

447450
- name: Install packages
448451
env:
449-
CUDA: true
450-
OPENCL: true
452+
HIP: true
451453
run: ./.github/scripts/run_install.sh
452454
shell: bash
453455

454456
- name: Run build
455457
env:
456-
CUDA: true
457-
OPENCL: true
458+
HIP: true
458459
TESTFLAGS: --enable-debug
459460
run: ./.github/scripts/run_build.sh
460461
shell: bash

0 commit comments

Comments
 (0)