drop bcachefs-tools-deb workflow

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2025-09-17 00:56:44 -04:00
parent 993396bb57
commit 1bf97bb2de

View File

@ -4,65 +4,6 @@ name: build
jobs: jobs:
deb:
name: bcachefs-tools-deb
strategy:
matrix:
os: [ubuntu-24.04]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Disable initramfs update
run: sudo sed -i 's/yes/no/g' /etc/initramfs-tools/update-initramfs.conf
- name: Disable man-db update
run: sudo rm -f /var/lib/man-db/auto-update
- name: Install build-deps
run: |
sudo apt-get update && sudo apt-get -y --no-install-recommends install \
valgrind \
equivs devscripts
grep -q 22.04 /etc/os-release && sed -i -e 's/ systemd-dev,/ systemd,/g' debian/control
mk-build-deps
sudo apt install ./bcachefs-tools-build-deps_*.deb
- name: Setup Rust
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Make deb
run: |
make -j`nproc` deb
mkdir dist && mv ../*.deb ./dist/
- name: Upload deb
uses: actions/upload-artifact@v4
with:
name: bcachefs-tools-deb_${{ matrix.os }}
path: dist
rpm:
name: bcachefs-tools-rpm
runs-on: ubuntu-latest
container:
image: docker.io/fedora:latest
steps:
- uses: actions/checkout@v4
- name: Install build essentials
run: dnf install -y nodejs make rpmdevtools yum-utils
- name: Setup Rust
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Install build-deps
run: dnf builddep -y packaging/bcachefs-tools.spec
- name: Make rpm
run: |
make -j`nproc` rpm
mv ${HOME}/rpmbuild ./
- name: Upload rpm
uses: actions/upload-artifact@v4
with:
name: bcachefs-tools-rpm
path: rpmbuild
msrv: msrv:
name: bcachefs-tools-msrv name: bcachefs-tools-msrv
runs-on: ubuntu-latest runs-on: ubuntu-latest