Private
Public Access
1
0

ci: Use ubuntu-latest with privileged runner for proper DinD
Some checks failed
Build .deb Package / build-and-package (push) Failing after 46s

- Change runs-on back to ubuntu-latest (maps to docker://ubuntu:24.04)
- Remove container: directive (label already specifies image)
- Remove sudo (running as root in Ubuntu container)
- Always install Rust (no caching between runs yet)
This commit is contained in:
2026-04-24 01:50:08 +00:00
parent dd40a26b01
commit 55a3b504fa

View File

@ -12,12 +12,12 @@ env:
jobs: jobs:
build-and-package: build-and-package:
runs-on: linux runs-on: ubuntu-latest
steps: steps:
- name: Install system dependencies - name: Install system dependencies
run: | run: |
sudo apt-get update -qq apt-get update -qq
sudo apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \
curl pkg-config libssl-dev ca-certificates \ curl pkg-config libssl-dev ca-certificates \
git nodejs npm dpkg-dev python3 git nodejs npm dpkg-dev python3
@ -28,20 +28,19 @@ jobs:
- name: Install Rust toolchain - name: Install Rust toolchain
run: | run: |
if ! command -v cargo &>/dev/null; then curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y . "$HOME/.cargo/env"
. "$HOME/.cargo/env" rustup default stable
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH" echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
fi
- name: Build Rust backend (release) - name: Build Rust backend (release)
run: | run: |
. "$HOME/.cargo/env" 2>/dev/null || true . "$HOME/.cargo/env"
cargo build --release cargo build --release
- name: Run Rust tests - name: Run Rust tests
run: | run: |
. "$HOME/.cargo/env" 2>/dev/null || true . "$HOME/.cargo/env"
cargo test --release cargo test --release
- name: Strip binaries - name: Strip binaries