Implement testing with Ceph #2
Workflow file for this run
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: test-build | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Clang 17 | |
run: | | |
wget https://apt.llvm.org/llvm.sh | |
chmod +x llvm.sh | |
sudo ./llvm.sh 17 | |
- name: Install dependencies | |
run: | | |
sudo apt update | |
make install-deps | |
- name: Build | |
run: | | |
make debug | |
- name: Install Ceph | |
run: | | |
sudo ./ci/setup_ceph.sh | |
- name: Run tests | |
run: | | |
mkdir -p /tmp/lsvd-read | |
mkdir -p /tmp/lsvd-write | |
cd build-dbg | |
sudo meson test | |
- name: Logs | |
run: | | |
cat build-dbg/meson-logs/testlog.txt |