forked from Narcissus/shredos.x86_64
fix: missing dependencies
Some checks failed
ISO Compile CI/CD / compile-iso (push) Failing after 36m59s
Some checks failed
ISO Compile CI/CD / compile-iso (push) Failing after 36m59s
This commit is contained in:
56
.gitea/workflows/compile-iso.yaml
Normal file
56
.gitea/workflows/compile-iso.yaml
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user