Skip to content

Commit c85208b

Browse files
authored
[CI] Add --no-install-recommends to apt install command lines (#276)
1 parent f472b02 commit c85208b

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/main.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
run: |
4444
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
4545
sudo apt-get update
46-
sudo apt-get install -y gcc-14 g++-14 ninja-build mpich libomp-dev valgrind
46+
sudo apt-get install --no-install-recommends -y gcc-14 g++-14 ninja-build libmpich-dev libomp-dev valgrind
4747
python3 -m pip install -r requirements.txt
4848
- name: ccache
4949
uses: hendrikmuhs/ccache-action@v1.2
@@ -93,7 +93,7 @@ jobs:
9393
run: |
9494
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
9595
sudo apt-get update
96-
sudo apt-get install -y gcc-14 g++-14 ninja-build mpich libomp-dev valgrind
96+
sudo apt-get install --no-install-recommends -y gcc-14 g++-14 ninja-build libmpich-dev libomp-dev valgrind
9797
python3 -m pip install -r requirements.txt
9898
- name: Download installed package
9999
uses: actions/download-artifact@v4
@@ -153,7 +153,7 @@ jobs:
153153
run: |
154154
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
155155
sudo apt-get update
156-
sudo apt-get install -y gcc-14 g++-14 ninja-build mpich libomp-dev valgrind
156+
sudo apt-get install --no-install-recommends -y gcc-14 g++-14 ninja-build libmpich-dev libomp-dev valgrind
157157
python3 -m pip install -r requirements.txt
158158
- name: Download installed package
159159
uses: actions/download-artifact@v4
@@ -208,7 +208,7 @@ jobs:
208208
run: |
209209
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
210210
sudo apt-get update
211-
sudo apt-get -y install ninja-build mpich python3-pip valgrind
211+
sudo apt-get install --no-install-recommends -y ninja-build libmpich-dev python3-pip valgrind
212212
wget https://apt.llvm.org/llvm.sh
213213
chmod u+x llvm.sh
214214
sudo ./llvm.sh 19 all
@@ -254,7 +254,7 @@ jobs:
254254
run: |
255255
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
256256
sudo apt-get update
257-
sudo apt-get install -y ninja-build mpich python3-pip valgrind
257+
sudo apt-get install --no-install-recommends -y ninja-build libmpich-dev python3-pip valgrind
258258
wget https://apt.llvm.org/llvm.sh
259259
chmod u+x llvm.sh
260260
sudo ./llvm.sh 19 all
@@ -316,7 +316,7 @@ jobs:
316316
run: |
317317
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
318318
sudo apt-get update
319-
sudo apt-get install -y ninja-build mpich python3-pip valgrind
319+
sudo apt-get install --no-install-recommends -y ninja-build libmpich-dev python3-pip valgrind
320320
wget https://apt.llvm.org/llvm.sh
321321
chmod u+x llvm.sh
322322
sudo ./llvm.sh 19 all
@@ -372,7 +372,7 @@ jobs:
372372
run: |
373373
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
374374
sudo apt-get update
375-
sudo apt-get install -y ninja-build mpich libmpich* mpi* openmpi-bin python3-pip
375+
sudo apt-get install --no-install-recommends -y ninja-build libmpich-dev mpi* openmpi-bin python3-pip
376376
wget https://apt.llvm.org/llvm.sh
377377
chmod u+x llvm.sh
378378
sudo ./llvm.sh 19 all
@@ -420,7 +420,7 @@ jobs:
420420
run: |
421421
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
422422
sudo apt-get update
423-
sudo apt-get install -y ninja-build mpich python3-pip valgrind
423+
sudo apt-get install --no-install-recommends -y ninja-build libmpich-dev python3-pip valgrind
424424
wget https://apt.llvm.org/llvm.sh
425425
chmod u+x llvm.sh
426426
sudo ./llvm.sh 19 all
@@ -479,7 +479,7 @@ jobs:
479479
run: |
480480
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
481481
sudo apt-get update
482-
sudo apt-get install -y ninja-build mpich python3-pip valgrind
482+
sudo apt-get install --no-install-recommends -y ninja-build libmpich-dev python3-pip valgrind
483483
wget https://apt.llvm.org/llvm.sh
484484
chmod u+x llvm.sh
485485
sudo ./llvm.sh 19 all
@@ -967,7 +967,7 @@ jobs:
967967
- name: Setup environment
968968
run: |
969969
sudo apt-get update
970-
sudo apt-get install -y gcc-14 g++-14 ninja-build mpich libomp-dev valgrind gcovr
970+
sudo apt-get install --no-install-recommends -y gcc-14 g++-14 ninja-build libmpich-dev libomp-dev valgrind gcovr
971971
- name: ccache
972972
uses: hendrikmuhs/ccache-action@v1.2
973973
with:
@@ -1047,7 +1047,7 @@ jobs:
10471047
run: |
10481048
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
10491049
sudo apt-get update
1050-
sudo apt-get install -y gcc-14 g++-14 ninja-build mpich libomp-dev valgrind
1050+
sudo apt-get install --no-install-recommends -y gcc-14 g++-14 ninja-build libmpich-dev libomp-dev valgrind
10511051
python3 -m pip install -r requirements.txt
10521052
- name: Download installed package
10531053
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)