Skip to content

Commit 530d226

Browse files
authored
Container experiment
1 parent 36e8c9b commit 530d226

File tree

1 file changed

+3
-18
lines changed

1 file changed

+3
-18
lines changed

.github/workflows/kcpp-build-release-linux-rocm.yaml

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -22,23 +22,10 @@ jobs:
2222
linux:
2323
runs-on: ubuntu-22.04
2424
permissions: write-all
25+
container:
26+
image: rocm/dev-ubuntu-22.04:7.0-complete
27+
options: --privileged
2528
steps:
26-
- name: Free Disk Space (Ubuntu)
27-
uses: jlumbroso/free-disk-space@main
28-
with:
29-
# this might remove tools that are actually needed,
30-
# if set to "true" but frees about 6 GB
31-
tool-cache: true
32-
33-
# all of these default to true, but feel free to set to
34-
# "false" if necessary for your workflow
35-
android: true
36-
dotnet: true
37-
haskell: true
38-
large-packages: true
39-
docker-images: true
40-
swap-storage: true
41-
4229
- name: Clone
4330
id: checkout
4431
uses: actions/checkout@v3
@@ -58,8 +45,6 @@ jobs:
5845
echo "tzdata tzdata/Areas select Etc" | sudo debconf-set-selections
5946
echo "tzdata tzdata/Zones/Etc select UTC" | sudo debconf-set-selections
6047
sudo apt-get -y install git curl bzip2 python3-tk tcl tk
61-
curl -fLO https://repo.radeon.com/rocm/installer/rocm-runfile-installer/rocm-rel-7.0.1/ubuntu/22.04/rocm-installer_1.2.1.70001-36-42~22.04.run && sudo bash rocm-installer_1.2.1.70001-36-42~22.04.run deps=install rocm postrocm target="/opt"
62-
sudo rm -rf rocm-install*
6348
6449
- name: Set Tcl/Tk Paths
6550
run: |

0 commit comments

Comments
 (0)