ci: install native build tools for self-hosted codeql build
This commit is contained in:
parent
caae81b3c9
commit
07848ac1c4
10
.github/workflows/sec-codeql.yml
vendored
10
.github/workflows/sec-codeql.yml
vendored
@ -57,6 +57,16 @@ jobs:
|
||||
with:
|
||||
toolchain: 1.92.0
|
||||
|
||||
- name: Ensure native build tools
|
||||
shell: bash
|
||||
run: |
|
||||
SUDO=""
|
||||
if command -v sudo >/dev/null 2>&1; then
|
||||
SUDO="sudo"
|
||||
fi
|
||||
$SUDO apt-get update
|
||||
$SUDO apt-get install -y --no-install-recommends build-essential pkg-config
|
||||
|
||||
- name: Build
|
||||
run: cargo build --workspace --all-targets --locked
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user