Interruptible throttle; DNS Resolver support filter #827
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: Linux x86 | |
on: | |
push: | |
branches: [ "main", "release/*" ] | |
pull_request: | |
branches: [ "main", "release/*" ] | |
jobs: | |
centos8-gcc9-epoll-release: | |
runs-on: ubuntu-latest | |
container: | |
image: dokken/centos-stream-8:sha-40294ce | |
options: --cpus 4 | |
steps: | |
- uses: szenius/[email protected] | |
with: | |
timezoneLinux: "Asia/Shanghai" | |
timezoneMacos: "Asia/Shanghai" | |
timezoneWindows: "China Standard Time" | |
- uses: actions/checkout@v3 | |
- name: Install Dependencies | |
run: | | |
dnf install -y git gcc-c++ cmake 'dnf-command(config-manager)' | |
dnf install -y gcc-toolset-9-gcc-c++ | |
dnf install -y openssl-devel libcurl-devel libaio-devel | |
dnf install -y epel-release | |
dnf config-manager --set-enabled powertools | |
dnf install -y gtest-devel gmock-devel gflags-devel fuse-devel libgsasl-devel e2fsprogs-devel | |
- name: Build | |
run: | | |
source /opt/rh/gcc-toolset-9/enable | |
cmake -B build -D CMAKE_BUILD_TYPE=MinSizeRel -D PHOTON_BUILD_TESTING=ON \ | |
-D PHOTON_ENABLE_SASL=ON -D PHOTON_ENABLE_FUSE=ON -D PHOTON_ENABLE_EXTFS=ON | |
cmake --build build -j -- VERBOSE=1 | |
- name: Test | |
run: | | |
cd build | |
ctest --timeout 3600 -V | |
centos8-gcc8-epoll-debug: | |
runs-on: ubuntu-latest | |
container: | |
image: dokken/centos-stream-8:sha-40294ce | |
options: --cpus 4 | |
steps: | |
- uses: szenius/[email protected] | |
with: | |
timezoneLinux: "Asia/Shanghai" | |
timezoneMacos: "Asia/Shanghai" | |
timezoneWindows: "China Standard Time" | |
- uses: actions/checkout@v3 | |
- name: Install Dependencies | |
run: | | |
dnf install -y git gcc-c++ cmake 'dnf-command(config-manager)' | |
dnf install -y gcc-toolset-9-gcc-c++ | |
dnf install -y openssl-devel libcurl-devel libaio-devel | |
dnf install -y epel-release | |
dnf config-manager --set-enabled powertools | |
dnf install -y gtest-devel gmock-devel gflags-devel fuse-devel libgsasl-devel e2fsprogs-devel | |
- name: Build | |
run: | | |
cmake -B build -D CMAKE_BUILD_TYPE=Debug -D PHOTON_BUILD_TESTING=ON \ | |
-D PHOTON_ENABLE_SASL=ON -D PHOTON_ENABLE_FUSE=ON -D PHOTON_ENABLE_EXTFS=ON | |
cmake --build build -j -- VERBOSE=1 | |
- name: Test | |
run: | | |
cd build | |
ctest --timeout 3600 -V | |
centos8-gcc9-iouring-release: | |
runs-on: [self-hosted, Linux, X64, io_uring] | |
container: | |
image: dokken/centos-stream-8:sha-40294ce | |
options: --cpus 4 | |
steps: | |
- uses: szenius/[email protected] | |
with: | |
timezoneLinux: "Asia/Shanghai" | |
timezoneMacos: "Asia/Shanghai" | |
timezoneWindows: "China Standard Time" | |
- 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 autoconf automake libtool | |
- name: Build | |
run: | | |
source /opt/rh/gcc-toolset-9/enable | |
cmake -B build -D CMAKE_BUILD_TYPE=MinSizeRel \ | |
-D PHOTON_BUILD_DEPENDENCIES=ON \ | |
-D PHOTON_BUILD_TESTING=ON \ | |
-D PHOTON_ENABLE_URING=ON | |
cmake --build build -j | |
- name: Test | |
run: | | |
cd build | |
export PHOTON_CI_EV_ENGINE=io_uring | |
ctest --timeout 3600 -V | |
ubuntu22-gcc11-epoll-release: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: szenius/[email protected] | |
with: | |
timezoneLinux: "Asia/Shanghai" | |
timezoneMacos: "Asia/Shanghai" | |
timezoneWindows: "China Standard Time" | |
- uses: actions/checkout@v3 | |
- name: Install Dependencies | |
run: | | |
sudo apt update -y | |
sudo apt install -y build-essential git cmake pkg-config | |
sudo apt install -y libssl-dev libcurl4-openssl-dev libaio-dev zlib1g-dev | |
sudo apt install -y libgtest-dev libgmock-dev libgflags-dev libfuse-dev libgsasl7-dev e2fslibs-dev | |
- name: Build | |
run: | | |
cmake -B build -D CMAKE_BUILD_TYPE=MinSizeRel -D PHOTON_BUILD_TESTING=ON \ | |
-D PHOTON_ENABLE_SASL=ON -D PHOTON_ENABLE_FUSE=ON -D PHOTON_ENABLE_EXTFS=ON | |
cmake --build build -j -- VERBOSE=1 | |
- name: Test | |
run: | | |
cd build | |
ctest --timeout 3600 -V |