File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
containers/github-action-ci-tooling Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 22
22
jobs :
23
23
build-ci-container-tooling :
24
24
if : github.repository_owner == 'llvm'
25
- runs-on : depot- ubuntu-24.04-16
25
+ runs-on : ubuntu-24.04
26
26
steps :
27
27
- name : Checkout LLVM
28
28
uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
44
44
echo "container-name-lint-tag=$container_name-lint:$tag" >> $GITHUB_OUTPUT
45
45
echo "container-format-filename=$(echo $container_name-format:$tag | sed -e 's/\//-/g' -e 's/:/-/g').tar" >> $GITHUB_OUTPUT
46
46
echo "container-lint-filename=$(echo $container_name-lint:$tag | sed -e 's/\//-/g' -e 's/:/-/g').tar" >> $GITHUB_OUTPUT
47
+
48
+ # The default Docker storage location for GitHub Actions doesn't have
49
+ # enough disk space, so change it to /mnt, which has more disk space.
50
+ - name : Change Docker storage location
51
+ run : |
52
+ sudo mkdir /mnt/docker
53
+ echo '{ "data-root": "/mnt/docker" }' | sudo tee /etc/docker/daemon.json
54
+ sudo systemctl restart docker
55
+
47
56
- name : Build container
48
57
run : |
49
58
podman build --target ci-container-code-format \
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ ARG LLVM_VERSION
5
5
6
6
RUN apt-get update && \
7
7
apt-get install -y wget xz-utils && \
8
- wget --progress=bar:force - O llvm.tar.xz https://github.com/llvm/llvm-project/releases/download/llvmorg-${LLVM_VERSION}/LLVM-${LLVM_VERSION}-Linux-X64.tar.xz && \
8
+ wget -O llvm.tar.xz https://github.com/llvm/llvm-project/releases/download/llvmorg-${LLVM_VERSION}/LLVM-${LLVM_VERSION}-Linux-X64.tar.xz && \
9
9
mkdir -p /llvm-extract && \
10
10
tar -xvJf llvm.tar.xz -C /llvm-extract LLVM-${LLVM_VERSION}-Linux-X64/bin/ && \
11
11
rm llvm.tar.xz
@@ -28,8 +28,6 @@ RUN apt-get update && \
28
28
apt-get clean && \
29
29
rm -rf /var/lib/apt/lists/*
30
30
31
- WORKDIR /home/gha
32
-
33
31
34
32
FROM base AS ci-container-code-format
35
33
ARG LLVM_VERSION
You can’t perform that action at this time.
0 commit comments