From faf7dc0227ef5dd0e95aa87cb924f9c5a3c3149f Mon Sep 17 00:00:00 2001 From: DaanSelen Date: Fri, 20 Feb 2026 10:53:46 +0100 Subject: [PATCH] fix: missing dependencies --- .gitea/workflows/compile-iso.yaml | 56 +++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 .gitea/workflows/compile-iso.yaml diff --git a/.gitea/workflows/compile-iso.yaml b/.gitea/workflows/compile-iso.yaml new file mode 100644 index 0000000000..32028f1204 --- /dev/null +++ b/.gitea/workflows/compile-iso.yaml @@ -0,0 +1,56 @@ +name: ISO Compile CI/CD + +on: + workflow_dispatch: + schedule: + - cron: '0 0 * * 6' + +jobs: + compile-iso: + runs-on: ubuntu-latest + strategy: + fail-fast: false + steps: + - uses: actions/checkout@v6 + with: + fetch-depth: 0 + + - name: Install apt packages + run: | + mv /etc/apt/sources.list.d/microsoft-prod.list /etc/apt/sources.list.d/microsoft-prod.list.disabled + + until apt-get update; do + echo -e "-----\napt-get update failed, retrying in 1s...\n-----" + sleep 1s + done + + apt install -y \ + automake \ + autotools-dev \ + bc \ + build-essential \ + cpio \ + coreutils \ + dmidecode \ + dosfstools \ + git \ + libelf-dev \ + libncurses5-dev \ + libparted-dev \ + libssl-dev \ + mtools \ + pkg-config \ + rsync \ + smartmontools \ + unzip + + - name: Prepare the building environment + run: | + mkdir -p package/shredos || true + touch package/shredos/Config.in || true + make clean + make shredos_defconfig + + - name: Make + run: | + make