Skip to content

Commit a733fe3

Browse files
committed
fix(ci): don't use ubuntu container
Signed-off-by: Roberto Scolaro <[email protected]>
1 parent f598e25 commit a733fe3

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ jobs:
1717
build-libs-linux:
1818
name: build-libs-linux-${{ matrix.arch }} 😁 (${{ matrix.name }})
1919
runs-on: ${{ (matrix.arch == 'arm64' && 'github-arm64-2c-8gb') || 'ubuntu-22.04' }}
20-
container:
21-
image: ubuntu:22.04
2220
strategy:
2321
fail-fast: false
2422
matrix:
@@ -38,14 +36,14 @@ jobs:
3836
steps:
3937
- name: Install deps ⛓️
4038
run: |
41-
apt update && apt install -y --no-install-recommends curl ca-certificates build-essential git clang llvm pkg-config autoconf automake libtool libelf-dev wget libc-ares-dev libcurl4-openssl-dev libssl-dev libtbb-dev libjq-dev libjsoncpp-dev libgrpc++-dev protobuf-compiler-grpc libgtest-dev libprotobuf-dev linux-headers-$(uname -r)
39+
sudo apt update && sudo apt install -y --no-install-recommends curl ca-certificates build-essential git clang llvm pkg-config autoconf automake libtool libelf-dev wget libc-ares-dev libcurl4-openssl-dev libssl-dev libtbb-dev libjq-dev libjsoncpp-dev libgrpc++-dev protobuf-compiler-grpc libgtest-dev libprotobuf-dev linux-headers-$(uname -r)
4240
4341
- name: Install a recent version of CMake ⛓️
4442
run: |
4543
curl -L -o /tmp/cmake.tar.gz https://github.com/Kitware/CMake/releases/download/v3.22.5/cmake-3.22.5-linux-$(uname -m).tar.gz
4644
gzip -d /tmp/cmake.tar.gz
4745
tar -xpf /tmp/cmake.tar --directory=/tmp
48-
cp -R /tmp/cmake-3.22.5-linux-$(uname -m)/* /usr
46+
sudo cp -R /tmp/cmake-3.22.5-linux-$(uname -m)/* /usr
4947
rm -rf /tmp/cmake-3.22.5-linux-$(uname -m)/
5048
5149
- name: Checkout Libs ⤵️
@@ -55,7 +53,7 @@ jobs:
5553

5654
- name: Install deps ⛓️
5755
run: |
58-
.github/install-deps.sh
56+
sudo .github/install-deps.sh
5957
6058
- name: Git safe directory
6159
run: |

0 commit comments

Comments
 (0)