Skip to content

Commit 36896c9

Browse files
authored
CICD.yml: Drop a check we are not interested
We have *con stubs to avoid workspace breakage, but actually not interested in building them.
1 parent 6b49ff9 commit 36896c9

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/CICD.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1326,15 +1326,9 @@ jobs:
13261326
persist-credentials: false
13271327
- uses: dtolnay/rust-toolchain@stable
13281328
- uses: Swatinem/rust-cache@v2
1329-
- name: Build SELinux utilities as stubs
1330-
run: cargo build -p uu_chcon -p uu_runcon
1331-
- name: Verify stub binaries exist
1332-
shell: bash
1333-
run: |
1334-
test -f target/debug/chcon || test -f target/debug/chcon.exe
1335-
test -f target/debug/runcon || test -f target/debug/runcon.exe
1329+
# We are interested in workspace build, but not interested in building SELinux stubs.
13361330
- name: Verify workspace builds with stubs
1337-
run: cargo build --features ${{ matrix.job.features }}
1331+
run: RUSTFLAGS="-C strip=symbols" cargo build --features ${{ matrix.job.features }}
13381332

13391333
test_safe_traversal:
13401334
name: Safe Traversal Security Check

0 commit comments

Comments
 (0)