-
Notifications
You must be signed in to change notification settings - Fork 120
73 lines (60 loc) · 1.99 KB
/
ci.linux.x86.yml
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
name: Linux x86
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
centos8-gcc921-epoll:
runs-on: [self-hosted, Linux, X64]
container:
image: dokken/centos-stream-8:sha-40294ce
options: --cpus 4
steps:
- uses: actions/checkout@v3
- name: Install Dependencies
run: |
dnf install -y git gcc-c++ cmake
dnf install -y gcc-toolset-9-gcc-c++
dnf install -y openssl-devel libcurl-devel libaio-devel
dnf install -y epel-release
dnf install -y fuse-devel libgsasl-devel
- name: Build
run: |
source /opt/rh/gcc-toolset-9/enable
cmake -B build -D BUILD_TESTING=ON -D CMAKE_BUILD_TYPE=RelWithDebInfo \
-D ENABLE_SASL=ON -D ENABLE_FUSE=ON \
-D ENABLE_URING=OFF -D FETCH_GTEST_GFLAGS_SOURCE=ON
cmake --build build
- name: Test
run: |
ulimit -l unlimited
cd build
ctest --timeout 3600 -V
centos8-gcc921-iouring:
runs-on: [self-hosted, Linux, X64]
container:
image: dokken/centos-stream-8:sha-40294ce
# In order to run io_uring, the docker daemon should add --default-ulimit memlock=-1:-1
options: --cpus 4
steps:
- uses: actions/checkout@v3
- name: Install Dependencies
run: |
dnf install -y git gcc-c++ cmake
dnf install -y gcc-toolset-9-gcc-c++
dnf install -y openssl-devel libcurl-devel libaio-devel
dnf install -y epel-release
dnf install -y fuse-devel libgsasl-devel
- name: Build
run: |
source /opt/rh/gcc-toolset-9/enable
cmake -B build -D BUILD_TESTING=ON -D CMAKE_BUILD_TYPE=RelWithDebInfo \
-D ENABLE_SASL=ON -D ENABLE_FUSE=ON \
-D ENABLE_URING=ON -D FETCH_GTEST_GFLAGS_SOURCE=ON
cmake --build build
- name: Test
run: |
ulimit -l unlimited
cd build
ctest --timeout 3600 -V