2023-03-22 13:44:41 +00:00
|
|
|
# Testing workflow for CI developments, reacts to push of branch 'devel-ci'
|
|
|
|
name: Testing CI build
|
|
|
|
run-name: Testing CI
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- devel-ci
|
|
|
|
jobs:
|
|
|
|
build:
|
2024-06-13 00:58:25 +00:00
|
|
|
runs-on: ubuntu-24.04
|
2023-03-22 13:44:41 +00:00
|
|
|
steps:
|
2024-01-30 18:32:58 +00:00
|
|
|
- uses: actions/checkout@v4
|
2023-03-22 13:44:41 +00:00
|
|
|
- run: uname -a
|
|
|
|
- run: sudo modprobe btrfs
|
|
|
|
- run: cat /proc/filesystems
|
|
|
|
- run: gcc --version
|
|
|
|
- run: df -HT
|
2024-07-17 18:16:26 +00:00
|
|
|
- run: sudo apt-get update -qqq
|
2023-03-22 13:44:41 +00:00
|
|
|
- run: sudo apt-get install -y pkg-config gcc liblzo2-dev libzstd-dev libblkid-dev uuid-dev zlib1g-dev libext2fs-dev e2fsprogs libudev-dev python3-sphinx libaio-dev liburing-dev
|
|
|
|
- name: Configure
|
|
|
|
run: ./autogen.sh && ./configure
|
|
|
|
- name: Make
|
|
|
|
run: make V=1
|
|
|
|
- name: Musl build
|
|
|
|
run: sudo docker run kdave/ci-musl-x86_64 ./test-build $GITHUB_REF_NAME --disable-documentation --disable-backtrace --disable-libudev
|
|
|
|
- name: Tests cli
|
|
|
|
run: echo sudo make TEST_LOG=dump test-cli
|