File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : GitHub Action CI
2
+
3
+ on : [pull_request]
4
+
5
+ env :
6
+ ROCM_VER : 5-4
7
+ jobs :
8
+ compile-rocm :
9
+ runs-on : ubuntu-20.04
10
+ steps :
11
+ - name : Install dependencies
12
+ run : |
13
+ sudo apt-get update
14
+ sudo apt-get install -y --no-install-recommends wget lsb-core software-properties-common gpg curl
15
+ - name : Install extra dependencies
16
+ run : |
17
+ curl -fsSL https://repo.radeon.com/rocm/rocm.gpg.key | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/rocm-keyring.gpg
18
+ echo 'deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/rocm-keyring.gpg] https://repo.radeon.com/rocm/apt/debian focal main' | sudo tee /etc/apt/sources.list.d/rocm.list
19
+ sudo apt-get update
20
+ sudo apt-get install -y rocm-hip-sdk
21
+ - uses : actions/checkout@v2
22
+ with :
23
+ submodules : recursive
24
+ - name : Build Open MPI
25
+ run : |
26
+ ./autogen.pl
27
+ ./configure --prefix=${PWD}/install --with-rocm=/opt/rocm --disable-mpi-fortran
28
+ make -j
You can’t perform that action at this time.
0 commit comments