debug workflow #1227
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: debug workflow | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
schedule: | |
- cron: '0 0 * * *' | |
workflow_dispatch: | |
jobs: | |
build: | |
name: debug | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: deps | |
run: | | |
sudo apt-get update | |
sudo apt-get -y --no-install-recommends install \ | |
build-essential \ | |
meson ninja-build \ | |
automake \ | |
pkg-config \ | |
libpoco-dev \ | |
libboost-dev \ | |
libdmalloc-dev | |
- name: fuse3 | |
run: | | |
mkdir /tmp/fuse3 ; cd /tmp/fuse3 | |
git clone --depth 1 https://github.com/libfuse/libfuse.git . | |
mkdir build ; cd build | |
meson .. | |
ninja | |
sudo ninja install | |
- name: bootstrap | |
run: sh bootstrap | |
- name: configure | |
run: | | |
sh configure \ | |
--enable-gcc-debug \ | |
--enable-dmalloc-debug \ | |
--enable-gprof || { tail -n 500 config.log; false; } | |
- name: clean | |
run: make clean | |
- name: make | |
run: make -j | |
- name: distclean | |
run: make distclean | |
- name: autogen.sh | |
run: sh autogen.sh | |
- name: configure | |
run: ./configure --prefix=$HOME | |
- name: dist | |
run: make dist | |
- name: build from tarball | |
run: | | |
tar xf clamfs-*.tar.gz | |
cd clamfs-*/ | |
sh configure | |
make -j | |
make clean | |
make dist | |
make distclean |