Skip to content

add an emulation layer for state threads, passing its UT (#561) #1118

add an emulation layer for state threads, passing its UT (#561)

add an emulation layer for state threads, passing its UT (#561) #1118

Workflow file for this run

name: Linux ARM
on:
push:
branches: [ "main", "release/*" ]
pull_request:
branches: [ "main", "release/*" ]
jobs:
centos8-gcc921-epoll-release:
runs-on: [self-hosted, Linux, ARM64]
container:
image: ghcr.io/coldwings/photon-ut-base:latest
options: --cpus 4
steps:
- uses: szenius/set-timezone@v2.0
with:
timezoneLinux: "Asia/Shanghai"
timezoneMacos: "Asia/Shanghai"
timezoneWindows: "China Standard Time"
- uses: actions/checkout@v4
- name: Build
run: |
source /opt/rh/gcc-toolset-9/enable
cmake -B build \
-D CMAKE_BUILD_TYPE=MinSizeRel \
-D PHOTON_ENABLE_ECOSYSTEM=ON \
-D PHOTON_BUILD_TESTING=ON \
-D PHOTON_ENABLE_SASL=ON \
-D PHOTON_ENABLE_FUSE=ON \
-D PHOTON_ENABLE_EXTFS=ON
cmake --build build -j $(nproc) -- VERBOSE=1
- name: Test
run: |
cd build
ctest -E test-lockfree --timeout 3600 -V
centos8-gcc921-epoll-debug:
runs-on: [self-hosted, Linux, ARM64]
container:
image: ghcr.io/coldwings/photon-ut-base:latest
options: --cpus 4
steps:
- uses: szenius/set-timezone@v2.0
with:
timezoneLinux: "Asia/Shanghai"
timezoneMacos: "Asia/Shanghai"
timezoneWindows: "China Standard Time"
- uses: actions/checkout@v4
- name: Build
run: |
source /opt/rh/gcc-toolset-9/enable
cmake -B build \
-D CMAKE_BUILD_TYPE=Debug \
-D PHOTON_ENABLE_ECOSYSTEM=ON \
-D PHOTON_BUILD_TESTING=ON \
-D PHOTON_ENABLE_SASL=ON \
-D PHOTON_ENABLE_FUSE=ON \
-D PHOTON_ENABLE_EXTFS=ON
cmake --build build -j $(nproc) -- VERBOSE=1
- name: Test
run: |
cd build
ctest -E test-lockfree --timeout 3600 -V