-
Notifications
You must be signed in to change notification settings - Fork 5
49 lines (39 loc) · 983 Bytes
/
test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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 18
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 18
- name: Install dependencies
run: |
sudo apt update
make install-deps
pip3 install --upgrade meson
- name: Build
run: |
make debug
- name: Install Ceph
run: |
sudo ./ci/setup_ceph.sh
sudo ceph osd pool create pone
- name: Run tests
run: |
mkdir -p /tmp/lsvd-read
mkdir -p /tmp/lsvd-write
cd build-dbg
sudo meson test
sudo ./imgtool --create --size 1g --pool pone test-img
- name: Logs
if: always()
run: |
cat build-rel/meson-logs/meson-log.txt