Skip to content

GitHub actions: Do not unnecessarily install recommended packages #5679

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/build-and-test-Xen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
# user input
DEBIAN_FRONTEND: noninteractive
run: |
sudo apt-get install -y coreutils build-essential gcc git make flex bison software-properties-common libwww-perl python
sudo apt-get install -y bin86 gdb bcc liblzma-dev python-dev gettext iasl uuid-dev libncurses5-dev libncursesw5-dev pkg-config
sudo apt-get install -y libgtk2.0-dev libyajl-dev sudo time
sudo apt-get install --no-install-recommends -y coreutils build-essential gcc git make flex bison software-properties-common libwww-perl python
sudo apt-get install --no-install-recommends -y bin86 gdb bcc liblzma-dev python-dev gettext iasl uuid-dev libncurses5-dev libncursesw5-dev pkg-config
sudo apt-get install --no-install-recommends -y libgtk2.0-dev libyajl-dev sudo time

- name: Build CBMC tools
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/doxygen-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ jobs:
# user input
DEBIAN_FRONTEND: noninteractive
run: |
sudo apt-get install -yq doxygen graphviz
sudo apt-get install --no-install-recommends -yq doxygen graphviz
- name: Run Doxygen
run: ./scripts/run_doxygen.sh
8 changes: 4 additions & 4 deletions .github/workflows/pull-request-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
# user input
DEBIAN_FRONTEND: noninteractive
run: |
sudo apt-get install -yq gcc gdb g++ maven jq flex bison libxml2-utils ccache
sudo apt-get install --no-install-recommends -yq gcc gdb g++ maven jq flex bison libxml2-utils ccache
make -C src minisat2-download
- name: Prepare ccache
uses: actions/cache@v2
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
# user input
DEBIAN_FRONTEND: noninteractive
run: |
sudo apt-get install -yq cmake ninja-build gcc g++ maven flex bison libxml2-utils dpkg-dev ccache
sudo apt-get install --no-install-recommends -yq cmake ninja-build gcc g++ maven flex bison libxml2-utils dpkg-dev ccache
- name: Prepare ccache
uses: actions/cache@v2
with:
Expand Down Expand Up @@ -224,7 +224,7 @@ jobs:
# user input
DEBIAN_FRONTEND: noninteractive
run: |
sudo apt-get install -yq clang-format-7
sudo apt-get install --no-install-recommends -yq clang-format-7
- name: Check updated lines of code match clang-format-7 style
env:
BASE_BRANCH: ${{ github.base_ref }}
Expand Down Expand Up @@ -305,7 +305,7 @@ jobs:
with:
submodules: recursive
- name: Fetch dependencies
run: sudo apt install g++ flex bison cmake ninja-build maven jq libxml2-utils dpkg-dev ccache
run: sudo apt-get install --no-install-recommends -y g++ flex bison cmake ninja-build maven jq libxml2-utils dpkg-dev ccache
- name: Prepare ccache
uses: actions/cache@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
with:
submodules: recursive
- name: Fetch dependencies
run: sudo apt install g++ flex bison cmake ninja-build maven jq libxml2-utils dpkg-dev ccache
run: sudo apt-get install --no-install-recommends -y g++ flex bison cmake ninja-build maven jq libxml2-utils dpkg-dev ccache
- name: Prepare ccache
uses: actions/cache@v2
with:
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
with:
submodules: recursive
- name: Fetch dependencies
run: sudo apt install g++ flex bison cmake ninja-build maven jq libxml2-utils dpkg-dev ccache
run: sudo apt-get install --no-install-recommends -y g++ flex bison cmake ninja-build maven jq libxml2-utils dpkg-dev ccache
- name: Prepare ccache
uses: actions/cache@v2
with:
Expand Down