-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use github self-hosted runner for CI
- Loading branch information
Showing
7 changed files
with
162 additions
and
91 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Linux ARM | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
centos8-gcc921-epoll: | ||
runs-on: [self-hosted, Linux, ARM64] | ||
|
||
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 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 |
This file was deleted.
Oops, something went wrong.
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
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
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
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