Skip to content

Commit 4c428ec

Browse files
committed
ci: install selinux in other jobs
1 parent ad6723c commit 4c428ec

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/CICD.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,10 @@ jobs:
267267
- uses: dtolnay/rust-toolchain@stable
268268
- uses: taiki-e/install-action@nextest
269269
- uses: Swatinem/rust-cache@v2
270+
- name: Install/setup prerequisites
271+
shell: bash
272+
run: |
273+
sudo apt-get -y update ; sudo apt-get -y install libselinux1-dev
270274
- name: Run sccache-cache
271275
uses: mozilla-actions/[email protected]
272276
- name: "`make build`"
@@ -402,7 +406,7 @@ jobs:
402406
run: |
403407
## Install dependencies
404408
sudo apt-get update
405-
sudo apt-get install jq
409+
sudo apt-get install jq libselinux1-dev
406410
- name: "`make install`"
407411
shell: bash
408412
run: |
@@ -847,6 +851,7 @@ jobs:
847851
- name: Install/setup prerequisites
848852
shell: bash
849853
run: |
854+
sudo apt-get -y update ; sudo apt-get -y install libselinux1-dev
850855
## Install/setup prerequisites
851856
make prepare-busytest
852857
- name: Run BusyBox test suite
@@ -939,6 +944,7 @@ jobs:
939944
- name: Install/setup prerequisites
940945
shell: bash
941946
run: |
947+
sudo apt-get -y update ; sudo apt-get -y install libselinux1-dev
942948
## Install/setup prerequisites
943949
make toybox-src
944950
- name: Run Toybox test suite

0 commit comments

Comments
 (0)